summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorWei Li <weili@chromium.org>2016-03-07 13:06:57 -0800
committerWei Li <weili@chromium.org>2016-03-07 13:06:57 -0800
commit258f19f26b3ccfc6b64429111a4a11bdc64be131 (patch)
treebb541d8ecbfb7cab1df67ee7c6f1faf91488438c /core
parent3b08a77ca0ff428c84b6d773c61d0f81259e51bb (diff)
downloadpdfium-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.cpp1
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) {