summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BUILD.gn4
-rw-r--r--fpdfsdk/javascript/cjs_console.cpp (renamed from fpdfsdk/javascript/console.cpp)2
-rw-r--r--fpdfsdk/javascript/cjs_console.h (renamed from fpdfsdk/javascript/console.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 d50912eefb..5666c24492 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1202,6 +1202,8 @@ static_library("javascript") {
"fpdfsdk/javascript/cjs_border.h",
"fpdfsdk/javascript/cjs_color.cpp",
"fpdfsdk/javascript/cjs_color.h",
+ "fpdfsdk/javascript/cjs_console.cpp",
+ "fpdfsdk/javascript/cjs_console.h",
"fpdfsdk/javascript/cjs_delaydata.cpp",
"fpdfsdk/javascript/cjs_delaydata.h",
"fpdfsdk/javascript/cjs_display.cpp",
@@ -1250,8 +1252,6 @@ static_library("javascript") {
"fpdfsdk/javascript/cjs_timerobj.h",
"fpdfsdk/javascript/cjs_zoomtype.cpp",
"fpdfsdk/javascript/cjs_zoomtype.h",
- "fpdfsdk/javascript/console.cpp",
- "fpdfsdk/javascript/console.h",
"fpdfsdk/javascript/event.cpp",
"fpdfsdk/javascript/event.h",
"fpdfsdk/javascript/global_timer.cpp",
diff --git a/fpdfsdk/javascript/console.cpp b/fpdfsdk/javascript/cjs_console.cpp
index 67ca1655ff..58a691c866 100644
--- a/fpdfsdk/javascript/console.cpp
+++ b/fpdfsdk/javascript/cjs_console.cpp
@@ -4,7 +4,7 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "fpdfsdk/javascript/console.h"
+#include "fpdfsdk/javascript/cjs_console.h"
#include <vector>
diff --git a/fpdfsdk/javascript/console.h b/fpdfsdk/javascript/cjs_console.h
index d06c443a81..43ab8f63d8 100644
--- a/fpdfsdk/javascript/console.h
+++ b/fpdfsdk/javascript/cjs_console.h
@@ -4,8 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef FPDFSDK_JAVASCRIPT_CONSOLE_H_
-#define FPDFSDK_JAVASCRIPT_CONSOLE_H_
+#ifndef FPDFSDK_JAVASCRIPT_CJS_CONSOLE_H_
+#define FPDFSDK_JAVASCRIPT_CJS_CONSOLE_H_
#include <vector>
@@ -44,4 +44,4 @@ class CJS_Console : public CJS_Object {
static const JSMethodSpec MethodSpecs[];
};
-#endif // FPDFSDK_JAVASCRIPT_CONSOLE_H_
+#endif // FPDFSDK_JAVASCRIPT_CJS_CONSOLE_H_
diff --git a/fpdfsdk/javascript/cjs_runtime.cpp b/fpdfsdk/javascript/cjs_runtime.cpp
index 0eb5233b0e..581d5c70a8 100644
--- a/fpdfsdk/javascript/cjs_runtime.cpp
+++ b/fpdfsdk/javascript/cjs_runtime.cpp
@@ -15,6 +15,7 @@
#include "fpdfsdk/javascript/cjs_app.h"
#include "fpdfsdk/javascript/cjs_border.h"
#include "fpdfsdk/javascript/cjs_color.h"
+#include "fpdfsdk/javascript/cjs_console.h"
#include "fpdfsdk/javascript/cjs_display.h"
#include "fpdfsdk/javascript/cjs_document.h"
#include "fpdfsdk/javascript/cjs_event_context.h"
@@ -35,7 +36,6 @@
#include "fpdfsdk/javascript/cjs_style.h"
#include "fpdfsdk/javascript/cjs_timerobj.h"
#include "fpdfsdk/javascript/cjs_zoomtype.h"
-#include "fpdfsdk/javascript/console.h"
#include "fpdfsdk/javascript/event.h"
#include "fpdfsdk/javascript/report.h"
#include "fpdfsdk/javascript/util.h"