diff options
Diffstat (limited to 'fpdfsdk/javascript/cjs_scalehow.h')
-rw-r--r-- | fpdfsdk/javascript/cjs_scalehow.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fpdfsdk/javascript/cjs_scalehow.h b/fpdfsdk/javascript/cjs_scalehow.h index 36c5fb3ce1..bc3548487e 100644 --- a/fpdfsdk/javascript/cjs_scalehow.h +++ b/fpdfsdk/javascript/cjs_scalehow.h @@ -11,14 +11,14 @@ class CJS_ScaleHow : public CJS_Object { public: + static void DefineJSObjects(CFXJS_Engine* pEngine, FXJSOBJTYPE eObjType); + explicit CJS_ScaleHow(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {} ~CJS_ScaleHow() override {} - static int g_nObjDefnID; + private: + static int ObjDefnID; static JSConstSpec ConstSpecs[]; - - static void DefineJSObjects(CFXJS_Engine* pEngine, FXJSOBJTYPE eObjType); - }; #endif // FPDFSDK_JAVASCRIPT_CJS_SCALEHOW_H_ |