summaryrefslogtreecommitdiff
path: root/core/fpdfapi/fpdf_font
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-08-05 22:34:58 -0700
committerCommit bot <commit-bot@chromium.org>2016-08-05 22:34:58 -0700
commitf41d9dc1ead47a1218e1cd37bd74ec850c8baaa3 (patch)
treed8d32b58909814f9835898c4a87f03b5bc510e69 /core/fpdfapi/fpdf_font
parent8ca63de14d522d3d259d74fa43b28b05b02728e8 (diff)
downloadpdfium-f41d9dc1ead47a1218e1cd37bd74ec850c8baaa3.tar.xz
Add CPDF_ImageObject::GetImage().
And use it where appropriate. Review-Url: https://codereview.chromium.org/2224623002
Diffstat (limited to 'core/fpdfapi/fpdf_font')
-rw-r--r--core/fpdfapi/fpdf_font/cpdf_type3char.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/fpdf_font/cpdf_type3char.cpp b/core/fpdfapi/fpdf_font/cpdf_type3char.cpp
index 9bfda99fd1..b80a4ccdd0 100644
--- a/core/fpdfapi/fpdf_font/cpdf_type3char.cpp
+++ b/core/fpdfapi/fpdf_font/cpdf_type3char.cpp
@@ -31,7 +31,7 @@ FX_BOOL CPDF_Type3Char::LoadBitmap(CPDF_RenderContext* pContext) {
m_ImageMatrix = pPageObj->AsImage()->m_Matrix;
std::unique_ptr<CFX_DIBSource> pSource(
- pPageObj->AsImage()->m_pImage->LoadDIBSource());
+ pPageObj->AsImage()->GetImage()->LoadDIBSource());
if (pSource)
m_pBitmap.reset(pSource->Clone());
m_pForm.reset();