diff options
author | dsinclair <dsinclair@chromium.org> | 2016-10-11 09:26:32 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-11 09:26:32 -0700 |
commit | b402b1738d665561dd1bb7ffba0c3f3d49425086 (patch) | |
tree | b7542f810c1d9199179dc60e5cdd43a5c794b880 /fpdfsdk/cpdfsdk_document.cpp | |
parent | 690c033e86b34f7a9c3d4be15759c63ef9360217 (diff) | |
download | pdfium-b402b1738d665561dd1bb7ffba0c3f3d49425086.tar.xz |
Convert CPDFSDK_PageView to have a CPDFSDK_FormFillEnvironment
This CL changes CPDFSDK_PageView to have a CPDFSDK_FormFillEnvironment instead
of a CPDFSDK_Document.
Review-Url: https://codereview.chromium.org/2400673002
Diffstat (limited to 'fpdfsdk/cpdfsdk_document.cpp')
-rw-r--r-- | fpdfsdk/cpdfsdk_document.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/cpdfsdk_document.cpp b/fpdfsdk/cpdfsdk_document.cpp index 78bcf49185..a3d2680f91 100644 --- a/fpdfsdk/cpdfsdk_document.cpp +++ b/fpdfsdk/cpdfsdk_document.cpp @@ -63,7 +63,7 @@ CPDFSDK_PageView* CPDFSDK_Document::GetPageView( if (!ReNew) return nullptr; - CPDFSDK_PageView* pPageView = new CPDFSDK_PageView(this, pUnderlyingPage); + CPDFSDK_PageView* pPageView = new CPDFSDK_PageView(GetEnv(), pUnderlyingPage); m_pageMap[pUnderlyingPage] = pPageView; // Delay to load all the annotations, to avoid endless loop. pPageView->LoadFXAnnots(); |