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/Consts.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/Consts.h')
-rw-r--r-- | fpdfsdk/include/javascript/Consts.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/include/javascript/Consts.h b/fpdfsdk/include/javascript/Consts.h index 778e2216f4..c6abd8549a 100644 --- a/fpdfsdk/include/javascript/Consts.h +++ b/fpdfsdk/include/javascript/Consts.h @@ -103,14 +103,14 @@ class CJS_Zoomtype : public CJS_Object { class CJS_GlobalConsts : public CJS_Object { public: - static int DefineJSObjects(v8::Isolate* pIsolate); + static void DefineJSObjects(v8::Isolate* pIsolate); }; /* ------------------------------ CJS_GlobalArrays -------------------------- */ class CJS_GlobalArrays : public CJS_Object { public: - static int DefineJSObjects(v8::Isolate* pIsolate); + static void DefineJSObjects(v8::Isolate* pIsolate); }; #endif // FPDFSDK_INCLUDE_JAVASCRIPT_CONSTS_H_ |