diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-02-18 12:42:45 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-02-18 12:42:45 -0800 |
commit | a96cc9bffc200d4ea83c2a283ca3ac0b72e9a588 (patch) | |
tree | 34df920fc3199e0f710abd62e80549ca7feedb94 /fpdfsdk/include/javascript/JS_Runtime.h | |
parent | 2da7bd4d78897bed52fe1304694f4e970db65e58 (diff) | |
download | pdfium-a96cc9bffc200d4ea83c2a283ca3ac0b72e9a588.tar.xz |
Replace ugly JS_Define macros with templates.
This allows us to step through the JS bindings code with the
debugger, which I could not do (but wanted to) the other day.
In the process, get rid of some else after returns, and one
unreachable code path.
I also get rid of some tracing macros that we would never
use for the sake of clarity, and some plain unused
definitions.
R=brucedawson@chromium.org
Review URL: https://codereview.chromium.org/908033002
Diffstat (limited to 'fpdfsdk/include/javascript/JS_Runtime.h')
0 files changed, 0 insertions, 0 deletions