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