summaryrefslogtreecommitdiff
path: root/fxjs/fxjs_v8.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2017-02-21 15:26:52 -0800
committerChromium commit bot <commit-bot@chromium.org>2017-02-22 01:09:31 +0000
commit55db09131508cd347c9f84b5ce1904e84e01a60c (patch)
treea3bb85c321c91bff8c5968d8a5f69a4c3025b1d1 /fxjs/fxjs_v8.h
parent4d5b8c5f990b8f06a55961c1f839c5b096658925 (diff)
downloadpdfium-55db09131508cd347c9f84b5ce1904e84e01a60c.tar.xz
Move JS constant tables to single-byte names
none are non-ascii characters, so save space. Change-Id: I5e81e8847a2ce4a5ffa3422d2103ffe453036e7c Reviewed-on: https://pdfium-review.googlesource.com/2819 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/fxjs_v8.h b/fxjs/fxjs_v8.h
index 34e299b4e2..8283184e47 100644
--- a/fxjs/fxjs_v8.h
+++ b/fxjs/fxjs_v8.h
@@ -160,7 +160,7 @@ class CFXJS_Engine {
v8::NamedPropertySetterCallback pPropPut,
v8::NamedPropertyDeleterCallback pPropDel);
void DefineObjConst(int nObjDefnID,
- const wchar_t* sConstName,
+ const char* sConstName,
v8::Local<v8::Value> pDefault);
void DefineGlobalMethod(const char* sMethodName,
v8::FunctionCallback pMethodCall);