diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-08-04 14:31:27 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-08-04 14:31:27 -0700 |
commit | e2bad47fa64137fdafacc0ca56434fccac4b028d (patch) | |
tree | ae15a37e3ef82b248f526d224e6189472c2e9423 /fpdfsdk/include/javascript | |
parent | b91597897846d706f5fc9c17ce502a81333f22da (diff) | |
download | pdfium-e2bad47fa64137fdafacc0ca56434fccac4b028d.tar.xz |
Merge to XFA: Remove stringify macro (#) from JS_STATIC_CONST_ENTRY_*.
(cherry picked from commit d539de991cacf02811880c434d4393c8275163d2)
Original Review URL: https://codereview.chromium.org/1256283005 .
R=thestig@chromium.org
TBR=thestig@chromium.org
Review URL: https://codereview.chromium.org/1272043002 .
Diffstat (limited to 'fpdfsdk/include/javascript')
-rw-r--r-- | fpdfsdk/include/javascript/JS_Define.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/include/javascript/JS_Define.h b/fpdfsdk/include/javascript/JS_Define.h index 7490a2f636..3252602dbc 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 } \ |