summaryrefslogtreecommitdiff
path: root/fxjs/cjs_return.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-28 17:15:48 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-28 17:15:48 +0000
commit99acb1c816dc88dbda5d03ef28dbdaa928f7e22a (patch)
treeeb72271a52a952db15d5a4fc70654a65100d8b1a /fxjs/cjs_return.cpp
parent3ff28136fef69f1ecd81a9d0d8c278d7120d85f3 (diff)
downloadpdfium-99acb1c816dc88dbda5d03ef28dbdaa928f7e22a.tar.xz
[XFA] Use default values to optionals
When accessing the margin data for a widget, the Inset values can come back as empty optionals. Those would only get values if there was a border data node present. If there is no border data node, we need to default the optional value. Bug: chromium:788246 Change-Id: Id3d5b76e8dc9d391aaa0d0440bf6ee2e2636fcdc Reviewed-on: https://pdfium-review.googlesource.com/19671 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fxjs/cjs_return.cpp')
0 files changed, 0 insertions, 0 deletions