summaryrefslogtreecommitdiff
path: root/core/fpdfapi/render/cpdf_imageloader.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_imageloader.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_imageloader.cpp')
-rw-r--r--core/fpdfapi/render/cpdf_imageloader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfapi/render/cpdf_imageloader.cpp b/core/fpdfapi/render/cpdf_imageloader.cpp
index 19eb875946..08aa5f1784 100644
--- a/core/fpdfapi/render/cpdf_imageloader.cpp
+++ b/core/fpdfapi/render/cpdf_imageloader.cpp
@@ -35,8 +35,8 @@ bool CPDF_ImageLoader::Start(const CPDF_ImageObject* pImage,
GroupFamily, bLoadMask, pRenderStatus);
} else {
ret = m_pImageObject->GetImage()->StartLoadDIBSource(
- pRenderStatus->m_pFormResource.Get(),
- pRenderStatus->m_pPageResource.Get(), bStdCS, GroupFamily, bLoadMask);
+ pRenderStatus->GetFormResource(), pRenderStatus->GetPageResource(),
+ bStdCS, GroupFamily, bLoadMask);
}
if (!ret)
HandleFailure();