summaryrefslogtreecommitdiff
path: root/fxjs/xfa/cjx_message.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-06-08 18:22:24 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-06-08 18:22:24 +0000
commitf29479d47156d180c0b71f6c98aa4de37c2a7ee2 (patch)
tree37f5d045f78466a9f09fa9d5d197869693a9d3e6 /fxjs/xfa/cjx_message.cpp
parent76d01feaeec421ebe6005f22de85998220703dd2 (diff)
downloadpdfium-f29479d47156d180c0b71f6c98aa4de37c2a7ee2.tar.xz
Fix issue with resolveNodes() not found off global proxy object.
We used to assume that a global proxy object could be distinguished by it not having two internal fields, but that invariant isn't correct. Instead, flag it as such so the block of code at line 126 will check the prototype to find an actual object. Squeeze some bytes out of the tags while were at it, no reason for them to be wide. Also remove GetGlobalObjectFromContext() helper, for transparency into what's really going on in v8. This then shows a needless retrieval of an object we already have in one case. Bug: pdfium:1097 Change-Id: Iafc356373166fe5fda76ea7d64193826ee69a6c3 Reviewed-on: https://pdfium-review.googlesource.com/34630 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs/xfa/cjx_message.cpp')
0 files changed, 0 insertions, 0 deletions