diff options
author | Lei Zhang <thestig@chromium.org> | 2017-10-06 02:26:16 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-10-19 23:02:25 +0000 |
commit | abd3bfb29fc26210fe1723bc63bf3c7b6dac9856 (patch) | |
tree | 104aecf3eec3b79b87b7b1e45a848d747bc76463 /core/fpdfapi/render/cpdf_renderstatus.h | |
parent | f64a73075d78d8d6a06ae47e5e58660d8c87cebc (diff) | |
download | pdfium-abd3bfb29fc26210fe1723bc63bf3c7b6dac9856.tar.xz |
Tidy up bits of CPDF_RenderStatus.
Also check the return value for a Clone() call.
Change-Id: Ia2775c2f70aafa2874f5d4172e0dc178854a3f51
Reviewed-on: https://pdfium-review.googlesource.com/15791
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi/render/cpdf_renderstatus.h')
-rw-r--r-- | core/fpdfapi/render/cpdf_renderstatus.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/fpdfapi/render/cpdf_renderstatus.h b/core/fpdfapi/render/cpdf_renderstatus.h index 102bc2f2e6..e0045afd85 100644 --- a/core/fpdfapi/render/cpdf_renderstatus.h +++ b/core/fpdfapi/render/cpdf_renderstatus.h @@ -142,9 +142,9 @@ class CPDF_RenderStatus { const CFX_Matrix* pObj2Device); RetainPtr<CFX_DIBitmap> GetBackdrop(const CPDF_PageObject* pObj, const FX_RECT& rect, - int& left, - int& top, - bool bBackAlphaRequired); + bool bBackAlphaRequired, + int* left, + int* top); RetainPtr<CFX_DIBitmap> LoadSMask(CPDF_Dictionary* pSMaskDict, FX_RECT* pClipRect, const CFX_Matrix* pMatrix); |