From d7e5cc754a937605d1f73db5e7967c58ddd80742 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Wed, 10 Jun 2015 14:33:37 -0700 Subject: Merge to XFA: Remove typdefs for pointer types in fx_system.h. Original Review URL: https://codereview.chromium.org/1171733003 R=thestig@chromium.org Review URL: https://codereview.chromium.org/1178613002. --- core/include/fxge/fx_ge_win32.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/include/fxge/fx_ge_win32.h') diff --git a/core/include/fxge/fx_ge_win32.h b/core/include/fxge/fx_ge_win32.h index 3972090326..57f30f7d35 100644 --- a/core/include/fxge/fx_ge_win32.h +++ b/core/include/fxge/fx_ge_win32.h @@ -21,7 +21,7 @@ typedef struct WINDIB_Open_Args_ { size_t memory_size; - FX_LPCWSTR path_name; + const FX_WCHAR* path_name; } WINDIB_Open_Args_; class CFX_WindowsDIB : public CFX_DIBitmap { @@ -35,9 +35,9 @@ public: static CFX_DIBitmap* LoadFromDDB(HDC hDC, HBITMAP hBitmap, FX_DWORD* pPalette = NULL, FX_DWORD size = 256); - static CFX_DIBitmap* LoadFromFile(FX_LPCWSTR filename); + static CFX_DIBitmap* LoadFromFile(const FX_WCHAR* filename); - static CFX_DIBitmap* LoadFromFile(FX_LPCSTR filename) + static CFX_DIBitmap* LoadFromFile(const FX_CHAR* filename) { return LoadFromFile(CFX_WideString::FromLocal(filename).c_str()); } -- cgit v1.2.3