summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/javascript/report.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/src/javascript/report.h')
-rw-r--r--fpdfsdk/src/javascript/report.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fpdfsdk/src/javascript/report.h b/fpdfsdk/src/javascript/report.h
index 0b4be6d6d7..798106bb11 100644
--- a/fpdfsdk/src/javascript/report.h
+++ b/fpdfsdk/src/javascript/report.h
@@ -30,8 +30,7 @@ class CJS_Report : public CJS_Object {
CJS_Report(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {}
~CJS_Report() override {}
- public:
- DECLARE_JS_CLASS(CJS_Report);
+ DECLARE_JS_CLASS();
JS_STATIC_METHOD(save, Report)
JS_STATIC_METHOD(writeText, Report);