summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/color.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2017-02-21 15:17:07 -0800
committerChromium commit bot <commit-bot@chromium.org>2017-02-22 01:09:09 +0000
commit4d5b8c5f990b8f06a55961c1f839c5b096658925 (patch)
tree4da062ca493327ac2c991fe4b6d17f9ef4793bab /fpdfsdk/javascript/color.cpp
parent9b99b63fa5e56bd820aecdc0fd2decd22a3d075a (diff)
downloadpdfium-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/color.cpp')
-rw-r--r--fpdfsdk/javascript/color.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/fpdfsdk/javascript/color.cpp b/fpdfsdk/javascript/color.cpp
index abf4049b6c..4fbec5b7c4 100644
--- a/fpdfsdk/javascript/color.cpp
+++ b/fpdfsdk/javascript/color.cpp
@@ -18,18 +18,18 @@
JSConstSpec CJS_Color::ConstSpecs[] = {{0, JSConstSpec::Number, 0, 0}};
JSPropertySpec CJS_Color::PropertySpecs[] = {
- {L"black", get_black_static, set_black_static},
- {L"blue", get_blue_static, set_blue_static},
- {L"cyan", get_cyan_static, set_cyan_static},
- {L"dkGray", get_dkGray_static, set_dkGray_static},
- {L"gray", get_gray_static, set_gray_static},
- {L"green", get_green_static, set_green_static},
- {L"ltGray", get_ltGray_static, set_ltGray_static},
- {L"magenta", get_magenta_static, set_magenta_static},
- {L"red", get_red_static, set_red_static},
- {L"transparent", get_transparent_static, set_transparent_static},
- {L"white", get_white_static, set_white_static},
- {L"yellow", get_yellow_static, set_yellow_static},
+ {"black", get_black_static, set_black_static},
+ {"blue", get_blue_static, set_blue_static},
+ {"cyan", get_cyan_static, set_cyan_static},
+ {"dkGray", get_dkGray_static, set_dkGray_static},
+ {"gray", get_gray_static, set_gray_static},
+ {"green", get_green_static, set_green_static},
+ {"ltGray", get_ltGray_static, set_ltGray_static},
+ {"magenta", get_magenta_static, set_magenta_static},
+ {"red", get_red_static, set_red_static},
+ {"transparent", get_transparent_static, set_transparent_static},
+ {"white", get_white_static, set_white_static},
+ {"yellow", get_yellow_static, set_yellow_static},
{0, 0, 0}};
JSMethodSpec CJS_Color::MethodSpecs[] = {{"convert", convert_static},