summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/event.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/javascript/event.cpp')
-rw-r--r--fpdfsdk/javascript/event.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/javascript/event.cpp b/fpdfsdk/javascript/event.cpp
index a320adaad3..07e439be47 100644
--- a/fpdfsdk/javascript/event.cpp
+++ b/fpdfsdk/javascript/event.cpp
@@ -13,7 +13,7 @@
#include "fpdfsdk/javascript/cjs_event_context.h"
#include "fpdfsdk/javascript/cjs_eventhandler.h"
-JSPropertySpec CJS_Event::PropertySpecs[] = {
+const JSPropertySpec CJS_Event::PropertySpecs[] = {
{"change", get_change_static, set_change_static},
{"changeEx", get_change_ex_static, set_change_ex_static},
{"commitKey", get_commit_key_static, set_commit_key_static},