summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2016-04-07 16:10:34 -0700
committerLei Zhang <thestig@chromium.org>2016-04-07 16:10:34 -0700
commit96475ebf2265255d48e8e71928fc628777f9399f (patch)
tree46cb3b22397186f6cf8b01b71d7cb10ac8c4b4b6
parentf268cc9b8f4610acd22684ced01150e67c737fe7 (diff)
downloadpdfium-96475ebf2265255d48e8e71928fc628777f9399f.tar.xz
Merge to M50: Fix a regression caused by 7cf13c9
BUG=591137 TBR=weili@chromium.org Review URL: https://codereview.chromium.org/1769183002 . (cherry picked from commit 258f19f26b3ccfc6b64429111a4a11bdc64be131) Review URL: https://codereview.chromium.org/1869233002 .
-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 215b104162..33bab91c2b 100644
--- a/core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp
+++ b/core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp
@@ -319,6 +319,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) {