diff options
author | Oliver Chang <ochang@chromium.org> | 2016-03-15 15:03:25 -0700 |
---|---|---|
committer | Oliver Chang <ochang@chromium.org> | 2016-03-15 15:03:25 -0700 |
commit | 2b2cbebe77bc927febdf527c9e7857067873133e (patch) | |
tree | 0d375db33918502c9c26ded5a477c8a102776610 /core/fxge/win32 | |
parent | 614d20a64195e64c047432251e3fb3e7b5142425 (diff) | |
download | pdfium-2b2cbebe77bc927febdf527c9e7857067873133e.tar.xz |
Remove -Wno-inconsistent-missing-override for clang-cl builds.
Fix warnings in win32_int.h
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1809473002 .
Diffstat (limited to 'core/fxge/win32')
-rw-r--r-- | core/fxge/win32/win32_int.h | 126 |
1 files changed, 63 insertions, 63 deletions
diff --git a/core/fxge/win32/win32_int.h b/core/fxge/win32/win32_int.h index bdba9547b3..923aa84f33 100644 --- a/core/fxge/win32/win32_int.h +++ b/core/fxge/win32/win32_int.h @@ -185,39 +185,39 @@ class CGdiDisplayDriver : public CGdiDeviceDriver { CGdiDisplayDriver(HDC hDC); protected: - virtual FX_BOOL GetDIBits(CFX_DIBitmap* pBitmap, - int left, - int top, - void* pIccTransform = NULL, - FX_BOOL bDEdge = FALSE); - virtual FX_BOOL SetDIBits(const CFX_DIBSource* pBitmap, - FX_DWORD color, - const FX_RECT* pSrcRect, - int left, - int top, - int blend_type, - int alpha_flag, - void* pIccTransform); - virtual FX_BOOL StretchDIBits(const CFX_DIBSource* pBitmap, - FX_DWORD color, - int dest_left, - int dest_top, - int dest_width, - int dest_height, - const FX_RECT* pClipRect, - FX_DWORD flags, - int alpha_flag, - void* pIccTransform, - int blend_type); - virtual FX_BOOL StartDIBits(const CFX_DIBSource* pBitmap, - int bitmap_alpha, - FX_DWORD color, - const CFX_Matrix* pMatrix, - FX_DWORD render_flags, - void*& handle, - int alpha_flag, - void* pIccTransform, - int blend_type) { + FX_BOOL GetDIBits(CFX_DIBitmap* pBitmap, + int left, + int top, + void* pIccTransform = NULL, + FX_BOOL bDEdge = FALSE) override; + FX_BOOL SetDIBits(const CFX_DIBSource* pBitmap, + FX_DWORD color, + const FX_RECT* pSrcRect, + int left, + int top, + int blend_type, + int alpha_flag, + void* pIccTransform) override; + FX_BOOL StretchDIBits(const CFX_DIBSource* pBitmap, + FX_DWORD color, + int dest_left, + int dest_top, + int dest_width, + int dest_height, + const FX_RECT* pClipRect, + FX_DWORD flags, + int alpha_flag, + void* pIccTransform, + int blend_type) override; + FX_BOOL StartDIBits(const CFX_DIBSource* pBitmap, + int bitmap_alpha, + FX_DWORD color, + const CFX_Matrix* pMatrix, + FX_DWORD render_flags, + void*& handle, + int alpha_flag, + void* pIccTransform, + int blend_type) override { return FALSE; } FX_BOOL UseFoxitStretchEngine(const CFX_DIBSource* pSource, @@ -237,35 +237,35 @@ class CGdiPrinterDriver : public CGdiDeviceDriver { CGdiPrinterDriver(HDC hDC); protected: - virtual int GetDeviceCaps(int caps_id); - virtual FX_BOOL SetDIBits(const CFX_DIBSource* pBitmap, - FX_DWORD color, - const FX_RECT* pSrcRect, - int left, - int top, - int blend_type, - int alpha_flag, - void* pIccTransform); - virtual FX_BOOL StretchDIBits(const CFX_DIBSource* pBitmap, - FX_DWORD color, - int dest_left, - int dest_top, - int dest_width, - int dest_height, - const FX_RECT* pClipRect, - FX_DWORD flags, - int alpha_flag, - void* pIccTransform, - int blend_type); - virtual FX_BOOL StartDIBits(const CFX_DIBSource* pBitmap, - int bitmap_alpha, - FX_DWORD color, - const CFX_Matrix* pMatrix, - FX_DWORD render_flags, - void*& handle, - int alpha_flag, - void* pIccTransform, - int blend_type); + int GetDeviceCaps(int caps_id) override; + FX_BOOL SetDIBits(const CFX_DIBSource* pBitmap, + FX_DWORD color, + const FX_RECT* pSrcRect, + int left, + int top, + int blend_type, + int alpha_flag, + void* pIccTransform) override; + FX_BOOL StretchDIBits(const CFX_DIBSource* pBitmap, + FX_DWORD color, + int dest_left, + int dest_top, + int dest_width, + int dest_height, + const FX_RECT* pClipRect, + FX_DWORD flags, + int alpha_flag, + void* pIccTransform, + int blend_type) override; + FX_BOOL StartDIBits(const CFX_DIBSource* pBitmap, + int bitmap_alpha, + FX_DWORD color, + const CFX_Matrix* pMatrix, + FX_DWORD render_flags, + void*& handle, + int alpha_flag, + void* pIccTransform, + int blend_type) override; int m_HorzSize, m_VertSize; FX_BOOL m_bSupportROP; }; @@ -293,7 +293,7 @@ class CPSPrinterDriver : public IFX_RenderDeviceDriver { protected: // IFX_RenderDeviceDriver - int GetDeviceCaps(int caps_id); + int GetDeviceCaps(int caps_id) override; FX_BOOL IsPSPrintDriver() override { return TRUE; } FX_BOOL StartRendering() override; void EndRendering() override; |