From 258f19f26b3ccfc6b64429111a4a11bdc64be131 Mon Sep 17 00:00:00 2001 From: Wei Li Date: Mon, 7 Mar 2016 13:06:57 -0800 Subject: Fix a regression caused by 7cf13c9 BUG=591137 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1769183002 . --- core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'core/src/fpdfapi') 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) { -- cgit v1.2.3