summaryrefslogtreecommitdiff
path: root/core/fpdfapi/render
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-11-21 14:54:29 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-21 14:54:29 -0800
commit8a5e15d7b16c1c2a99b013fc4f68597cedab4fcf (patch)
treed6cc32fe926152e521248f57c5c51deb8ba5aa73 /core/fpdfapi/render
parentd88090fb780480217af37273e7abb01ae48e322b (diff)
downloadpdfium-8a5e15d7b16c1c2a99b013fc4f68597cedab4fcf.tar.xz
Make CPDF_ImageObject::m_Matrix private.
Review-Url: https://codereview.chromium.org/2514263003
Diffstat (limited to 'core/fpdfapi/render')
-rw-r--r--core/fpdfapi/render/fpdf_render_image.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/fpdfapi/render/fpdf_render_image.cpp b/core/fpdfapi/render/fpdf_render_image.cpp
index cf5f97bab8..b95828c0cc 100644
--- a/core/fpdfapi/render/fpdf_render_image.cpp
+++ b/core/fpdfapi/render/fpdf_render_image.cpp
@@ -378,11 +378,10 @@ bool CPDF_ImageRenderer::Start(CPDF_RenderStatus* pStatus,
!m_pRenderStatus->m_Options.m_pOCContext->CheckOCGVisible(pOC)) {
return false;
}
- m_ImageMatrix = m_pImageObject->m_Matrix;
+ m_ImageMatrix = m_pImageObject->matrix();
m_ImageMatrix.Concat(*pObj2Device);
- if (StartLoadDIBSource()) {
+ if (StartLoadDIBSource())
return true;
- }
return StartRenderDIBSource();
}