diff options
author | Lei Zhang <thestig@chromium.org> | 2018-01-30 18:28:40 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-30 18:28:40 +0000 |
commit | acbef05aa0dbceabf47d700968ccd6569524fe74 (patch) | |
tree | 953a70bb93f60af598824d2f0e42b5c252b7ea7d /core/fxge/win32/win32_int.h | |
parent | ce047a637b5abfc5abbea90958f276946b7efdd4 (diff) | |
download | pdfium-acbef05aa0dbceabf47d700968ccd6569524fe74.tar.xz |
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 <dsinclair@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fxge/win32/win32_int.h')
-rw-r--r-- | core/fxge/win32/win32_int.h | 3 |
1 files changed, 3 insertions, 0 deletions
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<CFX_DIBitmap> FX_WindowsDIB_LoadFromBuf(BITMAPINFO* pbmi, + LPVOID pData, + bool bAlpha); class CGdiplusExt { public: CGdiplusExt(); |