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/Annot.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/Annot.cpp')
-rw-r--r-- | fpdfsdk/javascript/Annot.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/javascript/Annot.cpp b/fpdfsdk/javascript/Annot.cpp index 74af4b41a3..41c71ec411 100644 --- a/fpdfsdk/javascript/Annot.cpp +++ b/fpdfsdk/javascript/Annot.cpp @@ -22,9 +22,9 @@ CPDFSDK_BAAnnot* ToBAAnnot(CPDFSDK_Annot* annot) { JSConstSpec CJS_Annot::ConstSpecs[] = {{0, JSConstSpec::Number, 0, 0}}; JSPropertySpec CJS_Annot::PropertySpecs[] = { - {L"hidden", get_hidden_static, set_hidden_static}, - {L"name", get_name_static, set_name_static}, - {L"type", get_type_static, set_type_static}, + {"hidden", get_hidden_static, set_hidden_static}, + {"name", get_name_static, set_name_static}, + {"type", get_type_static, set_type_static}, {0, 0, 0}}; JSMethodSpec CJS_Annot::MethodSpecs[] = {{0, 0}}; |