summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BUILD.gn4
-rw-r--r--fpdfsdk/javascript/cjs_report.cpp (renamed from fpdfsdk/javascript/report.cpp)2
-rw-r--r--fpdfsdk/javascript/cjs_report.h (renamed from fpdfsdk/javascript/report.h)6
-rw-r--r--fpdfsdk/javascript/cjs_runtime.cpp2
4 files changed, 7 insertions, 7 deletions
diff --git a/BUILD.gn b/BUILD.gn
index db940dfe16..67f2a166ca 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1240,6 +1240,8 @@ static_library("javascript") {
"fpdfsdk/javascript/cjs_printparamsobj.h",
"fpdfsdk/javascript/cjs_publicmethods.cpp",
"fpdfsdk/javascript/cjs_publicmethods.h",
+ "fpdfsdk/javascript/cjs_report.cpp",
+ "fpdfsdk/javascript/cjs_report.h",
"fpdfsdk/javascript/cjs_return.cpp",
"fpdfsdk/javascript/cjs_return.h",
"fpdfsdk/javascript/cjs_runtime.cpp",
@@ -1256,8 +1258,6 @@ static_library("javascript") {
"fpdfsdk/javascript/cjs_zoomtype.h",
"fpdfsdk/javascript/global_timer.cpp",
"fpdfsdk/javascript/global_timer.h",
- "fpdfsdk/javascript/report.cpp",
- "fpdfsdk/javascript/report.h",
"fpdfsdk/javascript/resource.cpp",
"fpdfsdk/javascript/resource.h",
"fpdfsdk/javascript/util.cpp",
diff --git a/fpdfsdk/javascript/report.cpp b/fpdfsdk/javascript/cjs_report.cpp
index 88ea57569a..6d78100e3b 100644
--- a/fpdfsdk/javascript/report.cpp
+++ b/fpdfsdk/javascript/cjs_report.cpp
@@ -4,7 +4,7 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "fpdfsdk/javascript/report.h"
+#include "fpdfsdk/javascript/cjs_report.h"
#include <vector>
diff --git a/fpdfsdk/javascript/report.h b/fpdfsdk/javascript/cjs_report.h
index 7765ae5a9e..fa6c574612 100644
--- a/fpdfsdk/javascript/report.h
+++ b/fpdfsdk/javascript/cjs_report.h
@@ -4,8 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef FPDFSDK_JAVASCRIPT_REPORT_H_
-#define FPDFSDK_JAVASCRIPT_REPORT_H_
+#ifndef FPDFSDK_JAVASCRIPT_CJS_REPORT_H_
+#define FPDFSDK_JAVASCRIPT_CJS_REPORT_H_
#include <vector>
@@ -38,4 +38,4 @@ class CJS_Report : public CJS_Object {
static const JSMethodSpec MethodSpecs[];
};
-#endif // FPDFSDK_JAVASCRIPT_REPORT_H_
+#endif // FPDFSDK_JAVASCRIPT_CJS_REPORT_H_
diff --git a/fpdfsdk/javascript/cjs_runtime.cpp b/fpdfsdk/javascript/cjs_runtime.cpp
index 2c71b013dd..ae66e99ca4 100644
--- a/fpdfsdk/javascript/cjs_runtime.cpp
+++ b/fpdfsdk/javascript/cjs_runtime.cpp
@@ -32,12 +32,12 @@
#include "fpdfsdk/javascript/cjs_position.h"
#include "fpdfsdk/javascript/cjs_printparamsobj.h"
#include "fpdfsdk/javascript/cjs_publicmethods.h"
+#include "fpdfsdk/javascript/cjs_report.h"
#include "fpdfsdk/javascript/cjs_scalehow.h"
#include "fpdfsdk/javascript/cjs_scalewhen.h"
#include "fpdfsdk/javascript/cjs_style.h"
#include "fpdfsdk/javascript/cjs_timerobj.h"
#include "fpdfsdk/javascript/cjs_zoomtype.h"
-#include "fpdfsdk/javascript/report.h"
#include "fpdfsdk/javascript/util.h"
#include "public/fpdf_formfill.h"
#include "third_party/base/stl_util.h"