diff options
author | Wei Li <weili@chromium.org> | 2016-03-07 13:06:57 -0800 |
---|---|---|
committer | Wei Li <weili@chromium.org> | 2016-03-07 13:06:57 -0800 |
commit | 258f19f26b3ccfc6b64429111a4a11bdc64be131 (patch) | |
tree | bb541d8ecbfb7cab1df67ee7c6f1faf91488438c /core | |
parent | 3b08a77ca0ff428c84b6d773c61d0f81259e51bb (diff) | |
download | pdfium-258f19f26b3ccfc6b64429111a4a11bdc64be131.tar.xz |
Fix a regression caused by 7cf13c9
BUG=591137
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1769183002 .
Diffstat (limited to 'core')
-rw-r--r-- | core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp b/core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp index 42c378666e..aa10809496 100644 --- a/core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp +++ b/core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp @@ -318,6 +318,7 @@ FX_BOOL CPDF_Type3Char::LoadBitmap(CPDF_RenderContext* pContext) { if (m_pForm->GetPageObjectList()->size() == 1 && !m_bColored) { auto& pPageObj = m_pForm->GetPageObjectList()->front(); if (pPageObj->IsImage()) { + m_ImageMatrix = pPageObj->AsImage()->m_Matrix; const CFX_DIBSource* pSource = pPageObj->AsImage()->m_pImage->LoadDIBSource(); if (pSource) { |