summaryrefslogtreecommitdiff
path: root/fpdfsdk
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk')
-rw-r--r--fpdfsdk/javascript/cjs_global.cpp (renamed from fpdfsdk/javascript/global.cpp)2
-rw-r--r--fpdfsdk/javascript/cjs_global.h (renamed from fpdfsdk/javascript/global.h)6
-rw-r--r--fpdfsdk/javascript/cjs_runtime.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/fpdfsdk/javascript/global.cpp b/fpdfsdk/javascript/cjs_global.cpp
index df7927b116..f282a2694e 100644
--- a/fpdfsdk/javascript/global.cpp
+++ b/fpdfsdk/javascript/cjs_global.cpp
@@ -4,7 +4,7 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "fpdfsdk/javascript/global.h"
+#include "fpdfsdk/javascript/cjs_global.h"
#include <map>
#include <memory>
diff --git a/fpdfsdk/javascript/global.h b/fpdfsdk/javascript/cjs_global.h
index 77794a2e34..a98bf97f78 100644
--- a/fpdfsdk/javascript/global.h
+++ b/fpdfsdk/javascript/cjs_global.h
@@ -4,8 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef FPDFSDK_JAVASCRIPT_GLOBAL_H_
-#define FPDFSDK_JAVASCRIPT_GLOBAL_H_
+#ifndef FPDFSDK_JAVASCRIPT_CJS_GLOBAL_H_
+#define FPDFSDK_JAVASCRIPT_CJS_GLOBAL_H_
#include "fpdfsdk/javascript/JS_Define.h"
@@ -36,4 +36,4 @@ class CJS_Global : public CJS_Object {
const v8::FunctionCallbackInfo<v8::Value>& info);
};
-#endif // FPDFSDK_JAVASCRIPT_GLOBAL_H_
+#endif // FPDFSDK_JAVASCRIPT_CJS_GLOBAL_H_
diff --git a/fpdfsdk/javascript/cjs_runtime.cpp b/fpdfsdk/javascript/cjs_runtime.cpp
index 05bdb7c235..e48d696866 100644
--- a/fpdfsdk/javascript/cjs_runtime.cpp
+++ b/fpdfsdk/javascript/cjs_runtime.cpp
@@ -24,6 +24,7 @@
#include "fpdfsdk/javascript/cjs_display.h"
#include "fpdfsdk/javascript/cjs_event_context.h"
#include "fpdfsdk/javascript/cjs_font.h"
+#include "fpdfsdk/javascript/cjs_global.h"
#include "fpdfsdk/javascript/cjs_globalarrays.h"
#include "fpdfsdk/javascript/cjs_globalconsts.h"
#include "fpdfsdk/javascript/cjs_highlight.h"
@@ -35,7 +36,6 @@
#include "fpdfsdk/javascript/color.h"
#include "fpdfsdk/javascript/console.h"
#include "fpdfsdk/javascript/event.h"
-#include "fpdfsdk/javascript/global.h"
#include "fpdfsdk/javascript/report.h"
#include "fpdfsdk/javascript/util.h"
#include "public/fpdf_formfill.h"