summaryrefslogtreecommitdiff
path: root/core/fpdfapi/render/cpdf_dibsource.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-11-02 18:42:58 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-02 18:42:58 +0000
commit7261c277173ad6ea589d2df6ef20f876c2798be4 (patch)
treefe3bb6e9ca42bb5414a6715cb5cb9c1e2b541f02 /core/fpdfapi/render/cpdf_dibsource.h
parente806037fd847ed8edefaa4aeb19c79692cceb865 (diff)
downloadpdfium-7261c277173ad6ea589d2df6ef20f876c2798be4.tar.xz
Remove some redundent code in CPDF_DIBSource::StartLoadDIBSource().
Do the same for CPDF_DIBSource::ContinueLoadDIBSource(). Change-Id: I5c826967bf2595e2dcadfa6cae7edfe07ab17012 Reviewed-on: https://pdfium-review.googlesource.com/5252 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi/render/cpdf_dibsource.h')
-rw-r--r--core/fpdfapi/render/cpdf_dibsource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/render/cpdf_dibsource.h b/core/fpdfapi/render/cpdf_dibsource.h
index dd7dd4fc02..0971eb3887 100644
--- a/core/fpdfapi/render/cpdf_dibsource.h
+++ b/core/fpdfapi/render/cpdf_dibsource.h
@@ -75,7 +75,7 @@ class CPDF_DIBSource : public CFX_DIBSource {
int StartLoadMask();
int StartLoadMaskDIB();
int ContinueLoadMaskDIB(IFX_PauseIndicator* pPause);
- int ContinueToLoadMask();
+ bool ContinueToLoadMask();
RetainPtr<CPDF_DIBSource> DetachMask();
private: