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/Document.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/Document.cpp')
-rw-r--r-- | fpdfsdk/javascript/Document.cpp | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/fpdfsdk/javascript/Document.cpp b/fpdfsdk/javascript/Document.cpp index d4dc9c35bd..3fdb906108 100644 --- a/fpdfsdk/javascript/Document.cpp +++ b/fpdfsdk/javascript/Document.cpp @@ -62,39 +62,39 @@ PrintParamsObj::PrintParamsObj(CJS_Object* pJSObject) JSConstSpec CJS_Document::ConstSpecs[] = {{0, JSConstSpec::Number, 0, 0}}; JSPropertySpec CJS_Document::PropertySpecs[] = { - {L"ADBE", get_ADBE_static, set_ADBE_static}, - {L"author", get_author_static, set_author_static}, - {L"baseURL", get_baseURL_static, set_baseURL_static}, - {L"bookmarkRoot", get_bookmarkRoot_static, set_bookmarkRoot_static}, - {L"calculate", get_calculate_static, set_calculate_static}, - {L"Collab", get_Collab_static, set_Collab_static}, - {L"creationDate", get_creationDate_static, set_creationDate_static}, - {L"creator", get_creator_static, set_creator_static}, - {L"delay", get_delay_static, set_delay_static}, - {L"dirty", get_dirty_static, set_dirty_static}, - {L"documentFileName", get_documentFileName_static, + {"ADBE", get_ADBE_static, set_ADBE_static}, + {"author", get_author_static, set_author_static}, + {"baseURL", get_baseURL_static, set_baseURL_static}, + {"bookmarkRoot", get_bookmarkRoot_static, set_bookmarkRoot_static}, + {"calculate", get_calculate_static, set_calculate_static}, + {"Collab", get_Collab_static, set_Collab_static}, + {"creationDate", get_creationDate_static, set_creationDate_static}, + {"creator", get_creator_static, set_creator_static}, + {"delay", get_delay_static, set_delay_static}, + {"dirty", get_dirty_static, set_dirty_static}, + {"documentFileName", get_documentFileName_static, set_documentFileName_static}, - {L"external", get_external_static, set_external_static}, - {L"filesize", get_filesize_static, set_filesize_static}, - {L"icons", get_icons_static, set_icons_static}, - {L"info", get_info_static, set_info_static}, - {L"keywords", get_keywords_static, set_keywords_static}, - {L"layout", get_layout_static, set_layout_static}, - {L"media", get_media_static, set_media_static}, - {L"modDate", get_modDate_static, set_modDate_static}, - {L"mouseX", get_mouseX_static, set_mouseX_static}, - {L"mouseY", get_mouseY_static, set_mouseY_static}, - {L"numFields", get_numFields_static, set_numFields_static}, - {L"numPages", get_numPages_static, set_numPages_static}, - {L"pageNum", get_pageNum_static, set_pageNum_static}, - {L"pageWindowRect", get_pageWindowRect_static, set_pageWindowRect_static}, - {L"path", get_path_static, set_path_static}, - {L"producer", get_producer_static, set_producer_static}, - {L"subject", get_subject_static, set_subject_static}, - {L"title", get_title_static, set_title_static}, - {L"URL", get_URL_static, set_URL_static}, - {L"zoom", get_zoom_static, set_zoom_static}, - {L"zoomType", get_zoomType_static, set_zoomType_static}, + {"external", get_external_static, set_external_static}, + {"filesize", get_filesize_static, set_filesize_static}, + {"icons", get_icons_static, set_icons_static}, + {"info", get_info_static, set_info_static}, + {"keywords", get_keywords_static, set_keywords_static}, + {"layout", get_layout_static, set_layout_static}, + {"media", get_media_static, set_media_static}, + {"modDate", get_modDate_static, set_modDate_static}, + {"mouseX", get_mouseX_static, set_mouseX_static}, + {"mouseY", get_mouseY_static, set_mouseY_static}, + {"numFields", get_numFields_static, set_numFields_static}, + {"numPages", get_numPages_static, set_numPages_static}, + {"pageNum", get_pageNum_static, set_pageNum_static}, + {"pageWindowRect", get_pageWindowRect_static, set_pageWindowRect_static}, + {"path", get_path_static, set_path_static}, + {"producer", get_producer_static, set_producer_static}, + {"subject", get_subject_static, set_subject_static}, + {"title", get_title_static, set_title_static}, + {"URL", get_URL_static, set_URL_static}, + {"zoom", get_zoom_static, set_zoom_static}, + {"zoomType", get_zoomType_static, set_zoomType_static}, {0, 0, 0}}; JSMethodSpec CJS_Document::MethodSpecs[] = { |