diff options
author | etienneb <etienneb@chromium.org> | 2016-04-27 09:10:09 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-27 09:10:09 -0700 |
commit | b2f6f9158f54cee1825830c7ed57fe9d89cff26e (patch) | |
tree | 53d60f3447be548e4b1e3b2268874ddfe5172feb /xfa/fxgraphics/cfx_graphics.cpp | |
parent | b95901091d63ce09accec3088945955f969d46e1 (diff) | |
download | pdfium-b2f6f9158f54cee1825830c7ed57fe9d89cff26e.tar.xz |
Fix incorrect v8 TryCatch.
The Try-Catch object must live the whole lexical scope.
Without the giving a name to the object, this is equivalent to create a temporary that is destroy at the end of the statement.
/src/pdfium/pdfium/out/Debug/../../fpdfsdk/javascript/JS_Value.cpp:154:3: warning: object destroyed immediately after creation; did you mean to name the object? [misc-unused-raii]
This issue was found by clang-tidy
R=dsinclair
BUG=589955
Review-Url: https://codereview.chromium.org/1929513002
Diffstat (limited to 'xfa/fxgraphics/cfx_graphics.cpp')
0 files changed, 0 insertions, 0 deletions