diff options
author | Jun Fang <jun_fang@foxitsoftware.com> | 2016-01-20 08:04:47 +0800 |
---|---|---|
committer | Jun Fang <jun_fang@foxitsoftware.com> | 2016-01-20 08:04:47 +0800 |
commit | 752395430376536487352815e6107c32dac7d69e (patch) | |
tree | 46c00fbf689d893f32850bae1120f41239f19767 /fpdfsdk/include/fpdfxfa | |
parent | 4a2aa1a90d89b88036b0bff432ffefa183ea80d0 (diff) | |
download | pdfium-752395430376536487352815e6107c32dac7d69e.tar.xz |
Fix crashing in CPDFXFA_Document::GetPage()
BUG=pdfium:332
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1539193003 .
Diffstat (limited to 'fpdfsdk/include/fpdfxfa')
-rw-r--r-- | fpdfsdk/include/fpdfxfa/fpdfxfa_page.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fpdfsdk/include/fpdfxfa/fpdfxfa_page.h b/fpdfsdk/include/fpdfxfa/fpdfxfa_page.h index d88ba9f745..db47784704 100644 --- a/fpdfsdk/include/fpdfxfa/fpdfxfa_page.h +++ b/fpdfsdk/include/fpdfxfa/fpdfxfa_page.h @@ -20,6 +20,7 @@ class CPDFXFA_Page { int GetPageIndex() { return m_iPageIndex; }
CPDF_Page* GetPDFPage() { return m_pPDFPage; }
IXFA_PageView* GetXFAPageView() { return m_pXFAPageView; }
+ void SetXFAPageView(IXFA_PageView* pPageView) { m_pXFAPageView = pPageView; }
FX_FLOAT GetPageWidth();
FX_FLOAT GetPageHeight();
|