diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-09-11 13:04:48 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-09-11 13:04:48 -0700 |
commit | f9e40aec10263f9445d69598657f42550294d653 (patch) | |
tree | eb20eaef0841334b14266b4a83efe34ade7b1b0e /fpdfsdk/include/javascript/JS_Runtime.h | |
parent | df4de98c06075b0e491ac645f2d118a6813cedc9 (diff) | |
download | pdfium-f9e40aec10263f9445d69598657f42550294d653.tar.xz |
Fix strings, remove stringify macros, void return types for Consts.h.
Replace multiple #defines of the same strings with externs.
Fix strings mangled by interaction of # and clang-format.
Remove macros as possible.
Make more JS_ functions void and simplify.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1342433002 .
Diffstat (limited to 'fpdfsdk/include/javascript/JS_Runtime.h')
-rw-r--r-- | fpdfsdk/include/javascript/JS_Runtime.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/include/javascript/JS_Runtime.h b/fpdfsdk/include/javascript/JS_Runtime.h index e93f8b3cbe..5ae6f1bc79 100644 --- a/fpdfsdk/include/javascript/JS_Runtime.h +++ b/fpdfsdk/include/javascript/JS_Runtime.h @@ -56,7 +56,7 @@ class CJS_Runtime : public IFXJS_Runtime { v8::Local<v8::Context> NewJSContext(); private: - FX_BOOL DefineJSObjects(); + void DefineJSObjects(); CFX_ArrayTemplate<CJS_Context*> m_ContextArray; CPDFDoc_Environment* m_pApp; |