From 0415b381008dd0bcf2ed5da6f1371f1df396bc07 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Tue, 7 Apr 2015 15:26:59 -0700 Subject: Fix (nearly all) IWYU in fpdfskd/include/javascript/ headers. Move some typedefs for v8 types into fxjs_v8.h wrapper to avoid circular inclusions. Also delete JS_Module.h, as no other file includes it. BUG=https://code.google.com/p/pdfium/issues/detail?id=66 R=thestig@chromium.org Review URL: https://codereview.chromium.org/1060133002 --- fpdfsdk/include/javascript/JS_GlobalData.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'fpdfsdk/include/javascript/JS_GlobalData.h') diff --git a/fpdfsdk/include/javascript/JS_GlobalData.h b/fpdfsdk/include/javascript/JS_GlobalData.h index 8eee158a00..17e5e69aed 100644 --- a/fpdfsdk/include/javascript/JS_GlobalData.h +++ b/fpdfsdk/include/javascript/JS_GlobalData.h @@ -7,6 +7,8 @@ #ifndef _JS_GLOBALDATA_H_ #define _JS_GLOBALDATA_H_ +#include "../../../core/include/fxcrt/fx_basic.h" + #define JS_GLOBALDATA_TYPE_NUMBER 0 #define JS_GLOBALDATA_TYPE_BOOLEAN 1 #define JS_GLOBALDATA_TYPE_STRING 2 @@ -14,8 +16,7 @@ #define JS_GLOBALDATA_TYPE_NULL 4 class CJS_KeyValue; -class CJS_GlobalVariableArray; -class CJS_GlobalData_Element; +class CPDFDoc_Environment; class CJS_GlobalVariableArray { -- cgit v1.2.3