From bbeb10daef8b485024aa68126ff267c81dd4c474 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Fri, 2 Feb 2018 20:26:39 +0000 Subject: Small tidy of fxjs Use correct include style for v8 headers. Use incomplete type to avoid including header. Change-Id: Ibd58aa25b2a17fbd1cf6a20643b6f25ca008974f Reviewed-on: https://pdfium-review.googlesource.com/25230 Reviewed-by: Lei Zhang Commit-Queue: Tom Sepez --- fxjs/fxjs_v8.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'fxjs/fxjs_v8.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 -#include - #include #include #include #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 -- cgit v1.2.3