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