diff options
author | thestig <thestig@chromium.org> | 2016-05-26 10:45:30 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-26 10:45:30 -0700 |
commit | 41846a0fcc7d98476a18ec6c97778ead58069d99 (patch) | |
tree | a91f1273a03ca027c066a571b41f590896404574 /core/fxge/win32/fx_win32_print.cpp | |
parent | e9885e77a7daf7a8d45eaf0290a1ea5f208c24c6 (diff) | |
download | pdfium-41846a0fcc7d98476a18ec6c97778ead58069d99.tar.xz |
Remove default argument from RestoreState() methods.
Review-Url: https://codereview.chromium.org/2009803003
Diffstat (limited to 'core/fxge/win32/fx_win32_print.cpp')
-rw-r--r-- | core/fxge/win32/fx_win32_print.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/fxge/win32/fx_win32_print.cpp b/core/fxge/win32/fx_win32_print.cpp index d0359138de..9fd1683a80 100644 --- a/core/fxge/win32/fx_win32_print.cpp +++ b/core/fxge/win32/fx_win32_print.cpp @@ -270,7 +270,7 @@ FX_BOOL CGdiPrinterDriver::StartDIBits(const CFX_DIBSource* pSource, FX_BOOL ret = StretchDIBits( pTransformed, color, full_rect.left, full_rect.top, full_rect.Width(), full_rect.Height(), NULL, 0, alpha_flag, pIccTransform, blend_type); - RestoreState(); + RestoreState(false); delete pTransformed; handle = NULL; return ret; @@ -371,9 +371,11 @@ void CPSPrinterDriver::EndRendering() { void CPSPrinterDriver::SaveState() { m_PSRenderer.SaveState(); } -void CPSPrinterDriver::RestoreState(FX_BOOL bKeepSaved) { + +void CPSPrinterDriver::RestoreState(bool bKeepSaved) { m_PSRenderer.RestoreState(bKeepSaved); } + FX_BOOL CPSPrinterDriver::SetClip_PathFill(const CFX_PathData* pPathData, const CFX_Matrix* pObject2Device, int fill_mode) { |