Make spec arrays const

This CL marks all of the Spec arrays as const.

Change-Id: Ie36f670a4230fcac2cba5544b9c6e5179b0c7073
Reviewed-on: https://pdfium-review.googlesource.com/16951
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
diff --git a/fpdfsdk/javascript/Field.cpp b/fpdfsdk/javascript/Field.cpp
index 2a10406..2c49859 100644
--- a/fpdfsdk/javascript/Field.cpp
+++ b/fpdfsdk/javascript/Field.cpp
@@ -72,7 +72,7 @@
 
 }  // namespace
 
-JSPropertySpec CJS_Field::PropertySpecs[] = {
+const JSPropertySpec CJS_Field::PropertySpecs[] = {
     {"alignment", get_alignment_static, set_alignment_static},
     {"borderStyle", get_border_style_static, set_border_style_static},
     {"buttonAlignX", get_button_align_x_static, set_button_align_x_static},
@@ -136,7 +136,7 @@
     {"source", get_source_static, set_source_static},
     {0, 0, 0}};
 
-JSMethodSpec CJS_Field::MethodSpecs[] = {
+const JSMethodSpec CJS_Field::MethodSpecs[] = {
     {"browseForFileToSubmit", browseForFileToSubmit_static},
     {"buttonGetCaption", buttonGetCaption_static},
     {"buttonGetIcon", buttonGetIcon_static},