summaryrefslogtreecommitdiff
path: root/xfa/fxfa/app/xfa_fftext.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-09-14 07:01:54 -0700
committerCommit bot <commit-bot@chromium.org>2016-09-14 07:01:54 -0700
commita440bb3f11f42b7a22624e9771dd8d9c57075f06 (patch)
treec3dfde4e22bb2a2c4413e55d11dc89daaa1a3fb2 /xfa/fxfa/app/xfa_fftext.cpp
parentf2662c4a0bdfbe52d961ab4d2ff9a448323c3af9 (diff)
downloadpdfium-a440bb3f11f42b7a22624e9771dd8d9c57075f06.tar.xz
Split CPDFXFA_Document apart
[DO NOT COMMIT] This CL renames IXFA_DocProvider to IXFA_DocEnvironment to better describe the purpose. Then, CPDFXFA_Document has all of the IXFA_DocEnvironment methods removed and placed in CPDFXFA_DocEnvironment. The CPDFXFA_Document then has a CPDFXFA_DocEnvironment. This splits the code related to the document apart from the XFA callback methods to work with that document. Review-Url: https://codereview.chromium.org/2328573002
Diffstat (limited to 'xfa/fxfa/app/xfa_fftext.cpp')
-rw-r--r--xfa/fxfa/app/xfa_fftext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/app/xfa_fftext.cpp b/xfa/fxfa/app/xfa_fftext.cpp
index 3e5b3df8e9..2e5bb6420d 100644
--- a/xfa/fxfa/app/xfa_fftext.cpp
+++ b/xfa/fxfa/app/xfa_fftext.cpp
@@ -135,7 +135,7 @@ FX_BOOL CXFA_FFText::OnLButtonUp(uint32_t dwFlags, FX_FLOAT fx, FX_FLOAT fy) {
return FALSE;
}
CXFA_FFDoc* pDoc = GetDoc();
- pDoc->GetDocProvider()->GotoURL(pDoc, wsURLContent, FALSE);
+ pDoc->GetDocEnvironment()->GotoURL(pDoc, wsURLContent, FALSE);
return TRUE;
}
FWL_WidgetHit CXFA_FFText::OnHitTest(FX_FLOAT fx, FX_FLOAT fy) {