summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fxjs/cjs_v8.h5
-rw-r--r--fxjs/fxjs_v8.cpp1
-rw-r--r--fxjs/fxjs_v8.h11
3 files changed, 7 insertions, 10 deletions
diff --git a/fxjs/cjs_v8.h b/fxjs/cjs_v8.h
index 1dd4953caa..1a8d15b500 100644
--- a/fxjs/cjs_v8.h
+++ b/fxjs/cjs_v8.h
@@ -7,15 +7,14 @@
#ifndef FXJS_CJS_V8_H_
#define FXJS_CJS_V8_H_
-#include <v8-util.h>
-#include <v8.h>
-
#include <map>
#include <vector>
#include "core/fxcrt/bytestring.h"
#include "core/fxcrt/fx_string.h"
#include "core/fxcrt/widestring.h"
+#include "v8/include/v8-util.h"
+#include "v8/include/v8.h"
#ifdef PDF_ENABLE_XFA
class CXFA_Object;
diff --git a/fxjs/fxjs_v8.cpp b/fxjs/fxjs_v8.cpp
index 4c9c5602d2..c9d227cc47 100644
--- a/fxjs/fxjs_v8.cpp
+++ b/fxjs/fxjs_v8.cpp
@@ -8,6 +8,7 @@
#include <vector>
+#include "fxjs/cfxjse_runtimedata.h"
#include "third_party/base/allocator/partition_allocator/partition_alloc.h"
// Keep this consistent with the values defined in gin/public/context_holder.h
diff --git a/fxjs/fxjs_v8.h b/fxjs/fxjs_v8.h
index 851bdd5428..6878bcd41d 100644
--- a/fxjs/fxjs_v8.h
+++ b/fxjs/fxjs_v8.h
@@ -14,23 +14,20 @@
#ifndef FXJS_FXJS_V8_H_
#define FXJS_FXJS_V8_H_
-#include <v8-util.h>
-#include <v8.h>
-
#include <map>
#include <memory>
#include <vector>
#include "core/fxcrt/fx_string.h"
#include "fxjs/cjs_v8.h"
+#include "v8/include/v8-util.h"
+#include "v8/include/v8.h"
#ifdef PDF_ENABLE_XFA
-// Header for CFXJSE_RuntimeData. FXJS_V8 doesn't interpret this class,
-// it is just passed along to XFA.
-#include "fxjs/cfxjse_runtimedata.h"
+// FXJS_V8 doesn't interpret this class, it is just passed along to XFA.
+class CFXJSE_RuntimeData;
#endif // PDF_ENABLE_XFA
-class CFXJS_Engine;
class CFXJS_ObjDefinition;
// FXJS_V8 places no restrictions on this class; it merely passes it