summaryrefslogtreecommitdiff
path: root/fxjs/cjs_object.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-10-18 19:29:59 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-18 19:29:59 +0000
commit70156345b2a7bc57b8bfca5f3d58c34505ad6518 (patch)
tree68878a52ed8cbe6174038cf7396e040d6ccf45c8 /fxjs/cjs_object.h
parent378ec548964d57311faab4627e570566bd20aaa0 (diff)
downloadpdfium-70156345b2a7bc57b8bfca5f3d58c34505ad6518.tar.xz
Forward declare some fxjs/ classes.
And remove unnecessary fxjs/ #includes in header files. Change-Id: If89dd2717b6ba93dbb7493e8ca80d78deaa64b06 Reviewed-on: https://pdfium-review.googlesource.com/c/44270 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fxjs/cjs_object.h')
-rw-r--r--fxjs/cjs_object.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fxjs/cjs_object.h b/fxjs/cjs_object.h
index c8a4451ef0..2bb08fea45 100644
--- a/fxjs/cjs_object.h
+++ b/fxjs/cjs_object.h
@@ -9,10 +9,11 @@
#include "core/fxcrt/unowned_ptr.h"
#include "fpdfsdk/cpdfsdk_helpers.h"
-#include "fxjs/cfxjs_engine.h"
#include "fxjs/cjs_runtime.h"
#include "third_party/base/span.h"
+class CFXJS_Engine;
+
struct JSConstSpec {
enum Type { Number = 0, String = 1 };