diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-28 17:15:48 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-28 17:15:48 +0000 |
commit | 99acb1c816dc88dbda5d03ef28dbdaa928f7e22a (patch) | |
tree | eb72271a52a952db15d5a4fc70654a65100d8b1a /xfa/fxfa/parser/cxfa_speak.cpp | |
parent | 3ff28136fef69f1ecd81a9d0d8c278d7120d85f3 (diff) | |
download | pdfium-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 'xfa/fxfa/parser/cxfa_speak.cpp')
0 files changed, 0 insertions, 0 deletions