summaryrefslogtreecommitdiff
path: root/core/include/fpdfapi/fpdf_pageobj.h
diff options
context:
space:
mode:
authorJun Fang <jun_fang@foxitsoftware.com>2014-08-18 16:39:43 -0700
committerJun Fang <jun_fang@foxitsoftware.com>2014-08-18 16:39:43 -0700
commit2d55db143eb59a4267160742669304bab2ae4985 (patch)
treeead3c7dd3b46e0f5788641729b076b3d849f819e /core/include/fpdfapi/fpdf_pageobj.h
parent39a97eaf1132e9ae6311ef547133b53def0a2cc9 (diff)
downloadpdfium-2d55db143eb59a4267160742669304bab2ae4985.tar.xz
Font is used after release in CPDF_TextStateData::~CPDF_TextStateData
BUG=400996 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/477323002
Diffstat (limited to 'core/include/fpdfapi/fpdf_pageobj.h')
-rw-r--r--core/include/fpdfapi/fpdf_pageobj.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/include/fpdfapi/fpdf_pageobj.h b/core/include/fpdfapi/fpdf_pageobj.h
index 90e1b0b90b..307fb16bdf 100644
--- a/core/include/fpdfapi/fpdf_pageobj.h
+++ b/core/include/fpdfapi/fpdf_pageobj.h
@@ -220,6 +220,8 @@ public:
CPDF_Font* m_pFont;
+ CPDF_Document* m_pDocument;
+
FX_FLOAT m_FontSize;
FX_FLOAT m_CharSpace;