summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/cjs_scalewhen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/javascript/cjs_scalewhen.cpp')
-rw-r--r--fpdfsdk/javascript/cjs_scalewhen.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/javascript/cjs_scalewhen.cpp b/fpdfsdk/javascript/cjs_scalewhen.cpp
index 95314a2ba0..b27f1f4b24 100644
--- a/fpdfsdk/javascript/cjs_scalewhen.cpp
+++ b/fpdfsdk/javascript/cjs_scalewhen.cpp
@@ -16,8 +16,8 @@ const JSConstSpec CJS_ScaleWhen::ConstSpecs[] = {
int CJS_ScaleWhen::ObjDefnID = -1;
// static
-void CJS_ScaleWhen::DefineJSObjects(CFXJS_Engine* pEngine,
- FXJSOBJTYPE eObjType) {
- ObjDefnID = pEngine->DefineObj("scaleWhen", eObjType, nullptr, nullptr);
+void CJS_ScaleWhen::DefineJSObjects(CFXJS_Engine* pEngine) {
+ ObjDefnID =
+ pEngine->DefineObj("scaleWhen", FXJSOBJTYPE_STATIC, nullptr, nullptr);
DefineConsts(pEngine, ObjDefnID, ConstSpecs);
}