diff options
author | Tom Sepez <tsepez@chromium.org> | 2017-02-21 15:17:07 -0800 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-02-22 01:09:09 +0000 |
commit | 4d5b8c5f990b8f06a55961c1f839c5b096658925 (patch) | |
tree | 4da062ca493327ac2c991fe4b6d17f9ef4793bab /fpdfsdk/javascript/app.cpp | |
parent | 9b99b63fa5e56bd820aecdc0fd2decd22a3d075a (diff) | |
download | pdfium-4d5b8c5f990b8f06a55961c1f839c5b096658925.tar.xz |
Convert JS property tables to single-byte.
Change-Id: I4daec9e05a63c55caa01402a594c3553073c439e
Reviewed-on: https://pdfium-review.googlesource.com/2818
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/javascript/app.cpp')
-rw-r--r-- | fpdfsdk/javascript/app.cpp | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/fpdfsdk/javascript/app.cpp b/fpdfsdk/javascript/app.cpp index f1a39460a2..668156f0aa 100644 --- a/fpdfsdk/javascript/app.cpp +++ b/fpdfsdk/javascript/app.cpp @@ -161,20 +161,19 @@ void TimerObj::SetTimer(GlobalTimer* pTimer) { JSConstSpec CJS_App::ConstSpecs[] = {{0, JSConstSpec::Number, 0, 0}}; JSPropertySpec CJS_App::PropertySpecs[] = { - {L"activeDocs", get_activeDocs_static, set_activeDocs_static}, - {L"calculate", get_calculate_static, set_calculate_static}, - {L"formsVersion", get_formsVersion_static, set_formsVersion_static}, - {L"fs", get_fs_static, set_fs_static}, - {L"fullscreen", get_fullscreen_static, set_fullscreen_static}, - {L"language", get_language_static, set_language_static}, - {L"media", get_media_static, set_media_static}, - {L"platform", get_platform_static, set_platform_static}, - {L"runtimeHighlight", get_runtimeHighlight_static, + {"activeDocs", get_activeDocs_static, set_activeDocs_static}, + {"calculate", get_calculate_static, set_calculate_static}, + {"formsVersion", get_formsVersion_static, set_formsVersion_static}, + {"fs", get_fs_static, set_fs_static}, + {"fullscreen", get_fullscreen_static, set_fullscreen_static}, + {"language", get_language_static, set_language_static}, + {"media", get_media_static, set_media_static}, + {"platform", get_platform_static, set_platform_static}, + {"runtimeHighlight", get_runtimeHighlight_static, set_runtimeHighlight_static}, - {L"viewerType", get_viewerType_static, set_viewerType_static}, - {L"viewerVariation", get_viewerVariation_static, - set_viewerVariation_static}, - {L"viewerVersion", get_viewerVersion_static, set_viewerVersion_static}, + {"viewerType", get_viewerType_static, set_viewerType_static}, + {"viewerVariation", get_viewerVariation_static, set_viewerVariation_static}, + {"viewerVersion", get_viewerVersion_static, set_viewerVersion_static}, {0, 0, 0}}; JSMethodSpec CJS_App::MethodSpecs[] = {{"alert", alert_static}, |