diff options
author | Tom Sepez <tsepez@chromium.org> | 2017-02-21 15:05:57 -0800 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-02-22 01:08:38 +0000 |
commit | 9b99b63fa5e56bd820aecdc0fd2decd22a3d075a (patch) | |
tree | b1eb5be25aef41f2f4f70a985e822af004f007a5 /fxjs/fxjs_v8.h | |
parent | c54c07eac0531b6d9fcd591c3e44c5e27817d076 (diff) | |
download | pdfium-9b99b63fa5e56bd820aecdc0fd2decd22a3d075a.tar.xz |
Convert native method names to single-byte.
There are no non-ascii characters, so save space.
Change-Id: Ib9efb9386b6fc83bf3bb1810c791aadeeeebc259
Reviewed-on: https://pdfium-review.googlesource.com/2817
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fxjs/fxjs_v8.h')
-rw-r--r-- | fxjs/fxjs_v8.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fxjs/fxjs_v8.h b/fxjs/fxjs_v8.h index 541566f6d0..6b988e71a2 100644 --- a/fxjs/fxjs_v8.h +++ b/fxjs/fxjs_v8.h @@ -148,7 +148,7 @@ class CFXJS_Engine { Destructor pDestructor); void DefineObjMethod(int nObjDefnID, - const wchar_t* sMethodName, + const char* sMethodName, v8::FunctionCallback pMethodCall); void DefineObjProperty(int nObjDefnID, const wchar_t* sPropName, @@ -162,7 +162,7 @@ class CFXJS_Engine { void DefineObjConst(int nObjDefnID, const wchar_t* sConstName, v8::Local<v8::Value> pDefault); - void DefineGlobalMethod(const wchar_t* sMethodName, + void DefineGlobalMethod(const char* sMethodName, v8::FunctionCallback pMethodCall); void DefineGlobalConst(const wchar_t* sConstName, v8::FunctionCallback pConstGetter); |