diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-10-05 10:27:45 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-10-05 17:04:57 +0000 |
commit | 4ce4f5f8ab0b25ac10a5c66cac1a8c281e24a69b (patch) | |
tree | 7853cdd1e63d94c01b1893fef0722433400033a9 /core/fpdfapi/render/cpdf_pagerendercache.cpp | |
parent | 645e78a1152b035fb83ac5bbe93715b54f11a1b6 (diff) | |
download | pdfium-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_pagerendercache.cpp')
-rw-r--r-- | core/fpdfapi/render/cpdf_pagerendercache.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfapi/render/cpdf_pagerendercache.cpp b/core/fpdfapi/render/cpdf_pagerendercache.cpp index 42205ebe63..0d01589af3 100644 --- a/core/fpdfapi/render/cpdf_pagerendercache.cpp +++ b/core/fpdfapi/render/cpdf_pagerendercache.cpp @@ -95,8 +95,8 @@ bool CPDF_PageRenderCache::StartGetCachedBitmap( new CPDF_ImageCacheEntry(m_pPage->m_pDocument.Get(), pImage); } int ret = m_pCurImageCacheEntry->StartGetCachedBitmap( - pRenderStatus->m_pFormResource.Get(), m_pPage->m_pPageResources.Get(), - bStdCS, GroupFamily, bLoadMask, pRenderStatus); + pRenderStatus->GetFormResource(), m_pPage->m_pPageResources.Get(), bStdCS, + GroupFamily, bLoadMask, pRenderStatus); if (ret == 2) return true; |