summaryrefslogtreecommitdiff
path: root/core/fpdfapi/render/cpdf_progressiverenderer.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-10-05 10:27:45 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-10-05 17:04:57 +0000
commit4ce4f5f8ab0b25ac10a5c66cac1a8c281e24a69b (patch)
tree7853cdd1e63d94c01b1893fef0722433400033a9 /core/fpdfapi/render/cpdf_progressiverenderer.cpp
parent645e78a1152b035fb83ac5bbe93715b54f11a1b6 (diff)
downloadpdfium-4ce4f5f8ab0b25ac10a5c66cac1a8c281e24a69b.tar.xz
Cleanup CPDF_RenderStatus
This CL removes friend classes and moves public members to be private in the CPDF_RenderStatus class. Change-Id: Icdd6291bb8c1e5f43386d4a939b1eeaa16b8886d Reviewed-on: https://pdfium-review.googlesource.com/15530 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfapi/render/cpdf_progressiverenderer.cpp')
-rw-r--r--core/fpdfapi/render/cpdf_progressiverenderer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/fpdfapi/render/cpdf_progressiverenderer.cpp b/core/fpdfapi/render/cpdf_progressiverenderer.cpp
index d906a9325d..275fc6b85e 100644
--- a/core/fpdfapi/render/cpdf_progressiverenderer.cpp
+++ b/core/fpdfapi/render/cpdf_progressiverenderer.cpp
@@ -94,10 +94,10 @@ void CPDF_ProgressiveRenderer::Continue(IFX_PauseIndicator* pPause) {
pCurObj, &m_pCurrentLayer->m_Matrix, pPause)) {
return;
}
- if (pCurObj->IsImage() &&
- m_pRenderStatus->m_Options.m_Flags & RENDER_LIMITEDIMAGECACHE) {
+ if (pCurObj->IsImage() && m_pRenderStatus->GetRenderOptions()->m_Flags &
+ RENDER_LIMITEDIMAGECACHE) {
m_pContext->GetPageCache()->CacheOptimization(
- m_pRenderStatus->m_Options.m_dwLimitCacheSize);
+ m_pRenderStatus->GetRenderOptions()->m_dwLimitCacheSize);
}
if (pCurObj->IsForm() || pCurObj->IsShading())
nObjsToGo = 0;