summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_layoutpagemgr.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-02 19:15:03 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-02 19:15:03 +0000
commit8946aec4c3e727aae806f9858c2329ce368dd517 (patch)
tree6d01927599e7c069e957b5ce9f57456f56aacdcb /xfa/fxfa/parser/cxfa_layoutpagemgr.cpp
parent23aa2b0f8a3202337a40e8dcf3d8340bfd42e004 (diff)
downloadpdfium-8946aec4c3e727aae806f9858c2329ce368dd517.tar.xz
Remove default values from CJX_Node::TryContent
This CL removes the default values from TryContent and inlines into the call sites. Change-Id: I2d3f41f77364a0b923931479a60e07eae98dd5a9 Reviewed-on: https://pdfium-review.googlesource.com/17550 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_layoutpagemgr.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_layoutpagemgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/cxfa_layoutpagemgr.cpp b/xfa/fxfa/parser/cxfa_layoutpagemgr.cpp
index 2c1e6e4fd3..2def914529 100644
--- a/xfa/fxfa/parser/cxfa_layoutpagemgr.cpp
+++ b/xfa/fxfa/parser/cxfa_layoutpagemgr.cpp
@@ -480,7 +480,7 @@ float CXFA_LayoutPageMgr::GetAvailHeight() {
bool XFA_LayoutPageMgr_RunBreakTestScript(CXFA_Node* pTestScript) {
WideString wsExpression;
- pTestScript->JSNode()->TryContent(wsExpression);
+ pTestScript->JSNode()->TryContent(wsExpression, false, true);
if (wsExpression.IsEmpty())
return true;
return pTestScript->GetDocument()->GetNotify()->RunScript(