diff options
Diffstat (limited to 'fpdfsdk/javascript/cjs_scalewhen.cpp')
-rw-r--r-- | fpdfsdk/javascript/cjs_scalewhen.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fpdfsdk/javascript/cjs_scalewhen.cpp b/fpdfsdk/javascript/cjs_scalewhen.cpp index 82a4541855..7c45956632 100644 --- a/fpdfsdk/javascript/cjs_scalewhen.cpp +++ b/fpdfsdk/javascript/cjs_scalewhen.cpp @@ -13,10 +13,11 @@ JSConstSpec CJS_ScaleWhen::ConstSpecs[] = { {"tooSmall", JSConstSpec::Number, 3, 0}, {0, JSConstSpec::Number, 0, 0}}; -int CJS_ScaleWhen::g_nObjDefnID = -1; +int CJS_ScaleWhen::ObjDefnID = -1; +// static void CJS_ScaleWhen::DefineJSObjects(CFXJS_Engine* pEngine, FXJSOBJTYPE eObjType) { - g_nObjDefnID = pEngine->DefineObj("scaleWhen", eObjType, nullptr, nullptr); - DefineConsts(pEngine, g_nObjDefnID, ConstSpecs); + ObjDefnID = pEngine->DefineObj("scaleWhen", eObjType, nullptr, nullptr); + DefineConsts(pEngine, ObjDefnID, ConstSpecs); } |