summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/JS_Define.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 /fpdfsdk/javascript/JS_Define.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 'fpdfsdk/javascript/JS_Define.h')
-rw-r--r--fpdfsdk/javascript/JS_Define.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/javascript/JS_Define.h b/fpdfsdk/javascript/JS_Define.h
index 0875cc9fc6..0bd3a5e722 100644
--- a/fpdfsdk/javascript/JS_Define.h
+++ b/fpdfsdk/javascript/JS_Define.h
@@ -17,7 +17,7 @@
struct JSConstSpec {
enum Type { Number = 0, String = 1 };
- const wchar_t* pName;
+ const char* pName;
Type eType;
double number;
const wchar_t* pStr;