From acbef05aa0dbceabf47d700968ccd6569524fe74 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 30 Jan 2018 18:28:40 +0000 Subject: Use anonymous namespace in gdiplus code. Fix some nits as well. Change-Id: Ia52f4550c39d8072004679d764243ca9a9f7db0d Reviewed-on: https://pdfium-review.googlesource.com/24190 Reviewed-by: dsinclair Commit-Queue: Lei Zhang --- core/fxge/win32/win32_int.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/fxge/win32/win32_int.h') diff --git a/core/fxge/win32/win32_int.h b/core/fxge/win32/win32_int.h index 8bc8290845..f27a420734 100644 --- a/core/fxge/win32/win32_int.h +++ b/core/fxge/win32/win32_int.h @@ -29,6 +29,9 @@ typedef HANDLE(__stdcall* FuncType_GdiAddFontMemResourceEx)(PVOID pbFont, DWORD* pcFonts); typedef BOOL(__stdcall* FuncType_GdiRemoveFontMemResourceEx)(HANDLE handle); +RetainPtr FX_WindowsDIB_LoadFromBuf(BITMAPINFO* pbmi, + LPVOID pData, + bool bAlpha); class CGdiplusExt { public: CGdiplusExt(); -- cgit v1.2.3