summaryrefslogtreecommitdiff
path: root/xfa/fxjse/include
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-05-26 13:30:56 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-26 13:30:56 -0700
commit1c9cfe10e81eebf6fcdd676e656eb8ab35bee961 (patch)
tree90a8b8e9dfc7356940861ebae2c9fae12751991e /xfa/fxjse/include
parente3b2a4eca66e357df663a6f7464ef9af5e85883f (diff)
downloadpdfium-1c9cfe10e81eebf6fcdd676e656eb8ab35bee961.tar.xz
Make fm2jscontext's class descriptor a static constant.
Review-Url: https://codereview.chromium.org/2010183002
Diffstat (limited to 'xfa/fxjse/include')
-rw-r--r--xfa/fxjse/include/fxjse.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxjse/include/fxjse.h b/xfa/fxjse/include/fxjse.h
index e5d80ca245..d2d0bd9014 100644
--- a/xfa/fxjse/include/fxjse.h
+++ b/xfa/fxjse/include/fxjse.h
@@ -53,8 +53,8 @@ struct FXJSE_PROPERTY_DESCRIPTOR {
struct FXJSE_CLASS_DESCRIPTOR {
const FX_CHAR* name;
FXJSE_FuncCallback constructor;
- FXJSE_PROPERTY_DESCRIPTOR* properties;
- FXJSE_FUNCTION_DESCRIPTOR* methods;
+ const FXJSE_PROPERTY_DESCRIPTOR* properties;
+ const FXJSE_FUNCTION_DESCRIPTOR* methods;
int32_t propNum;
int32_t methNum;
FXJSE_PropTypeGetter dynPropTypeGetter;