diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-02-02 20:26:39 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-02-02 20:26:39 +0000 |
commit | bbeb10daef8b485024aa68126ff267c81dd4c474 (patch) | |
tree | b77ecded0dd00e5c701101534cf91b058f1f520b /fxjs/fxjs_v8.h | |
parent | 1258f7f21725c703269581e0241fbad86d89209c (diff) | |
download | pdfium-bbeb10daef8b485024aa68126ff267c81dd4c474.tar.xz |
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 <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs/fxjs_v8.h')
-rw-r--r-- | fxjs/fxjs_v8.h | 11 |
1 files changed, 4 insertions, 7 deletions
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 |