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 /fpdfsdk/javascript/global.cpp | |
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 'fpdfsdk/javascript/global.cpp')
-rw-r--r-- | fpdfsdk/javascript/global.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/javascript/global.cpp b/fpdfsdk/javascript/global.cpp index df379c973e..eb7afb1332 100644 --- a/fpdfsdk/javascript/global.cpp +++ b/fpdfsdk/javascript/global.cpp @@ -22,7 +22,7 @@ JSConstSpec CJS_Global::ConstSpecs[] = {{0, JSConstSpec::Number, 0, 0}}; JSPropertySpec CJS_Global::PropertySpecs[] = {{0, 0, 0}}; JSMethodSpec CJS_Global::MethodSpecs[] = { - {L"setPersistent", setPersistent_static}, + {"setPersistent", setPersistent_static}, {0, 0}}; IMPLEMENT_SPECIAL_JS_CLASS(CJS_Global, JSGlobalAlternate, global); |