diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-10-26 16:48:57 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-10-26 21:07:36 +0000 |
commit | c94a793413938c4142bc8bedd40ae2fe2527f71a (patch) | |
tree | 9e938c2dcf0204508b52fedb7022e92e92bc55ba /fpdfsdk/javascript/util.h | |
parent | ef299534cce8cc42f1bd13665a75947c88195ce0 (diff) | |
download | pdfium-c94a793413938c4142bc8bedd40ae2fe2527f71a.tar.xz |
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>
Diffstat (limited to 'fpdfsdk/javascript/util.h')
-rw-r--r-- | fpdfsdk/javascript/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/javascript/util.h b/fpdfsdk/javascript/util.h index 7e1b3886e4..68f82e7d1b 100644 --- a/fpdfsdk/javascript/util.h +++ b/fpdfsdk/javascript/util.h @@ -57,7 +57,7 @@ class CJS_Util : public CJS_Object { private: static int ObjDefnID; - static JSMethodSpec MethodSpecs[]; + static const JSMethodSpec MethodSpecs[]; }; #endif // FPDFSDK_JAVASCRIPT_UTIL_H_ |