summaryrefslogtreecommitdiff
path: root/fpdfsdk/include/javascript
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-08-04 13:56:45 -0700
committerTom Sepez <tsepez@chromium.org>2015-08-04 13:56:45 -0700
commitd539de991cacf02811880c434d4393c8275163d2 (patch)
treeb23c0f9879bd0c6960e7fa9e5bb5d8f010bbc68e /fpdfsdk/include/javascript
parent4807dd6fcac4d649f6ebba1ef018aa305639270d (diff)
downloadpdfium-d539de991cacf02811880c434d4393c8275163d2.tar.xz
Remove stringify macro (#) from JS_STATIC_CONST_ENTRY_*.
R=thestig@chromium.org Review URL: https://codereview.chromium.org/1256283005 .
Diffstat (limited to 'fpdfsdk/include/javascript')
-rw-r--r--fpdfsdk/include/javascript/JS_Define.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/include/javascript/JS_Define.h b/fpdfsdk/include/javascript/JS_Define.h
index 0c020b6734..7c3afd7359 100644
--- a/fpdfsdk/include/javascript/JS_Define.h
+++ b/fpdfsdk/include/javascript/JS_Define.h
@@ -37,10 +37,10 @@ struct JSMethodSpec {
#define BEGIN_JS_STATIC_CONST(js_class_name) \
JSConstSpec js_class_name::JS_Class_Consts[] = {
#define JS_STATIC_CONST_ENTRY_NUMBER(const_name, pValue) \
- { JS_WIDESTRING(const_name), pValue, L"", 0 } \
+ { const_name, pValue, L"", 0 } \
,
#define JS_STATIC_CONST_ENTRY_STRING(const_name, pValue) \
- { JS_WIDESTRING(const_name), 0, JS_WIDESTRING(pValue), 1 } \
+ { const_name, 0, pValue, 1 } \
,
#define END_JS_STATIC_CONST() \
{ 0, 0, 0, 0 } \