From 1c9cfe10e81eebf6fcdd676e656eb8ab35bee961 Mon Sep 17 00:00:00 2001 From: tsepez Date: Thu, 26 May 2016 13:30:56 -0700 Subject: Make fm2jscontext's class descriptor a static constant. Review-Url: https://codereview.chromium.org/2010183002 --- xfa/fxjse/include/fxjse.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xfa/fxjse') 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; -- cgit v1.2.3