diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-02 19:09:58 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-02 19:09:58 +0000 |
commit | 3ac07ffafea1ee4d3cf985e32692849dd3fcfdfb (patch) | |
tree | 3edbd3db87541a57fa0ee172bd50b70d35d45a11 /fxjs/cfxjse_engine.cpp | |
parent | bf29e5b532e4ef9a309906083b33b6d4c48ff757 (diff) | |
download | pdfium-3ac07ffafea1ee4d3cf985e32692849dd3fcfdfb.tar.xz |
Cleanup params to CJX_Node::TryCData
This CL removes the bProto param as it was never set and inlines the
value where needed in the methods. The default value was removed from
bUseDefault and inlined into callsites as needed.
Change-Id: I773261d19aa3799bc607e7df482b5f5e5217bee6
Reviewed-on: https://pdfium-review.googlesource.com/17533
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs/cfxjse_engine.cpp')
-rw-r--r-- | fxjs/cfxjse_engine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/cfxjse_engine.cpp b/fxjs/cfxjse_engine.cpp index 5fa0a11e21..fb36c6dba0 100644 --- a/fxjs/cfxjse_engine.cpp +++ b/fxjs/cfxjse_engine.cpp @@ -483,7 +483,7 @@ bool CFXJSE_Engine::RunVariablesScript(CXFA_Node* pScriptNode) { return false; WideStringView wsScript; - if (!pTextNode->JSNode()->TryCData(XFA_ATTRIBUTE_Value, wsScript)) + if (!pTextNode->JSNode()->TryCData(XFA_ATTRIBUTE_Value, wsScript, true)) return false; ByteString btScript = FX_UTF8Encode(wsScript); |