summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/cjs_scalewhen.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/javascript/cjs_scalewhen.h')
-rw-r--r--fpdfsdk/javascript/cjs_scalewhen.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/fpdfsdk/javascript/cjs_scalewhen.h b/fpdfsdk/javascript/cjs_scalewhen.h
index 1b64c0fea9..7aa97213f5 100644
--- a/fpdfsdk/javascript/cjs_scalewhen.h
+++ b/fpdfsdk/javascript/cjs_scalewhen.h
@@ -11,14 +11,14 @@
class CJS_ScaleWhen : public CJS_Object {
public:
+ static void DefineJSObjects(CFXJS_Engine* pEngine, FXJSOBJTYPE eObjType);
+
explicit CJS_ScaleWhen(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {}
~CJS_ScaleWhen() override {}
- static int g_nObjDefnID;
+ private:
+ static int ObjDefnID;
static JSConstSpec ConstSpecs[];
-
- static void DefineJSObjects(CFXJS_Engine* pEngine, FXJSOBJTYPE eObjType);
-
};
#endif // FPDFSDK_JAVASCRIPT_CJS_SCALEWHEN_H_