diff options
author | Lei Zhang <thestig@chromium.org> | 2015-11-06 15:56:28 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-11-06 15:56:28 -0800 |
commit | 9e7cd8ffb81c564e1102f6c6459ec0942a0b11ea (patch) | |
tree | 1c0b4da37cbba9f13e6c4a5b0eae2e24b7df0b8d /fpdfsdk/src/javascript | |
parent | b2dd2c96f6271a1520c36d707b626a34c72f7fb6 (diff) | |
download | pdfium-9e7cd8ffb81c564e1102f6c6459ec0942a0b11ea.tar.xz |
Fix all relative includes to core.
Do some IWYU to fix build errors due to files that have no #includes but
just happened to work previously because the #includes were in the right
order.
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1407423004 .
Diffstat (limited to 'fpdfsdk/src/javascript')
-rw-r--r-- | fpdfsdk/src/javascript/JS_Context.h | 4 | ||||
-rw-r--r-- | fpdfsdk/src/javascript/JS_EventHandler.h | 4 | ||||
-rw-r--r-- | fpdfsdk/src/javascript/JS_GlobalData.cpp | 2 | ||||
-rw-r--r-- | fpdfsdk/src/javascript/JS_GlobalData.h | 2 | ||||
-rw-r--r-- | fpdfsdk/src/javascript/JS_Runtime.h | 2 | ||||
-rw-r--r-- | fpdfsdk/src/javascript/JS_Value.h | 2 | ||||
-rw-r--r-- | fpdfsdk/src/javascript/global.cpp | 2 | ||||
-rw-r--r-- | fpdfsdk/src/javascript/resource.h | 4 |
8 files changed, 11 insertions, 11 deletions
diff --git a/fpdfsdk/src/javascript/JS_Context.h b/fpdfsdk/src/javascript/JS_Context.h index dc5d8339bf..e450ba5703 100644 --- a/fpdfsdk/src/javascript/JS_Context.h +++ b/fpdfsdk/src/javascript/JS_Context.h @@ -7,9 +7,9 @@ #ifndef FPDFSDK_SRC_JAVASCRIPT_JS_CONTEXT_H_ #define FPDFSDK_SRC_JAVASCRIPT_JS_CONTEXT_H_ -#include "../../../core/include/fxcrt/fx_system.h" -#include "../../../core/include/fxcrt/fx_string.h" #include "../../include/javascript/IJavaScript.h" +#include "core/include/fxcrt/fx_string.h" +#include "core/include/fxcrt/fx_system.h" class CJS_EventHandler; class CJS_Runtime; diff --git a/fpdfsdk/src/javascript/JS_EventHandler.h b/fpdfsdk/src/javascript/JS_EventHandler.h index 5b67ec4baf..2af19d9ad5 100644 --- a/fpdfsdk/src/javascript/JS_EventHandler.h +++ b/fpdfsdk/src/javascript/JS_EventHandler.h @@ -7,8 +7,8 @@ #ifndef FPDFSDK_SRC_JAVASCRIPT_JS_EVENTHANDLER_H_ #define FPDFSDK_SRC_JAVASCRIPT_JS_EVENTHANDLER_H_ -#include "../../../core/include/fxcrt/fx_string.h" -#include "../../../core/include/fxcrt/fx_system.h" +#include "core/include/fxcrt/fx_string.h" +#include "core/include/fxcrt/fx_system.h" class CJS_Context; class CPDFSDK_Annot; diff --git a/fpdfsdk/src/javascript/JS_GlobalData.cpp b/fpdfsdk/src/javascript/JS_GlobalData.cpp index cf5b997dd2..36b81a20ac 100644 --- a/fpdfsdk/src/javascript/JS_GlobalData.cpp +++ b/fpdfsdk/src/javascript/JS_GlobalData.cpp @@ -6,8 +6,8 @@ #include "JS_GlobalData.h" -#include "../../../core/include/fdrm/fx_crypt.h" #include "../../include/javascript/IJavaScript.h" +#include "core/include/fdrm/fx_crypt.h" #define JS_MAXGLOBALDATA (1024 * 4 - 8) diff --git a/fpdfsdk/src/javascript/JS_GlobalData.h b/fpdfsdk/src/javascript/JS_GlobalData.h index a358e80e55..6a07fa84e4 100644 --- a/fpdfsdk/src/javascript/JS_GlobalData.h +++ b/fpdfsdk/src/javascript/JS_GlobalData.h @@ -7,7 +7,7 @@ #ifndef FPDFSDK_SRC_JAVASCRIPT_JS_GLOBALDATA_H_ #define FPDFSDK_SRC_JAVASCRIPT_JS_GLOBALDATA_H_ -#include "../../../core/include/fxcrt/fx_basic.h" +#include "core/include/fxcrt/fx_basic.h" #define JS_GLOBALDATA_TYPE_NUMBER 0 #define JS_GLOBALDATA_TYPE_BOOLEAN 1 diff --git a/fpdfsdk/src/javascript/JS_Runtime.h b/fpdfsdk/src/javascript/JS_Runtime.h index d90891eff0..4a55c2e9e6 100644 --- a/fpdfsdk/src/javascript/JS_Runtime.h +++ b/fpdfsdk/src/javascript/JS_Runtime.h @@ -10,10 +10,10 @@ #include <set> #include <utility> -#include "../../../core/include/fxcrt/fx_basic.h" #include "../../include/javascript/IJavaScript.h" #include "../../include/jsapi/fxjs_v8.h" #include "JS_EventHandler.h" +#include "core/include/fxcrt/fx_basic.h" class CJS_Context; diff --git a/fpdfsdk/src/javascript/JS_Value.h b/fpdfsdk/src/javascript/JS_Value.h index d64fdc6a11..b8c5563f70 100644 --- a/fpdfsdk/src/javascript/JS_Value.h +++ b/fpdfsdk/src/javascript/JS_Value.h @@ -7,8 +7,8 @@ #ifndef FPDFSDK_SRC_JAVASCRIPT_JS_VALUE_H_ #define FPDFSDK_SRC_JAVASCRIPT_JS_VALUE_H_ -#include "../../../core/include/fxcrt/fx_basic.h" #include "../../include/jsapi/fxjs_v8.h" +#include "core/include/fxcrt/fx_basic.h" class CJS_Array; class CJS_Date; diff --git a/fpdfsdk/src/javascript/global.cpp b/fpdfsdk/src/javascript/global.cpp index 4dd93c150f..84af76a3de 100644 --- a/fpdfsdk/src/javascript/global.cpp +++ b/fpdfsdk/src/javascript/global.cpp @@ -6,7 +6,6 @@ #include "global.h" -#include "../../../core/include/fxcrt/fx_ext.h" #include "../../include/javascript/IJavaScript.h" #include "JS_Context.h" #include "JS_Define.h" @@ -14,6 +13,7 @@ #include "JS_GlobalData.h" #include "JS_Object.h" #include "JS_Value.h" +#include "core/include/fxcrt/fx_ext.h" #include "resource.h" /* ---------------------------- global ---------------------------- */ diff --git a/fpdfsdk/src/javascript/resource.h b/fpdfsdk/src/javascript/resource.h index fcefcd486f..8e07d47768 100644 --- a/fpdfsdk/src/javascript/resource.h +++ b/fpdfsdk/src/javascript/resource.h @@ -7,8 +7,8 @@ #ifndef FPDFSDK_SRC_JAVASCRIPT_RESOURCE_H_ #define FPDFSDK_SRC_JAVASCRIPT_RESOURCE_H_ -#include "../../../core/include/fxcrt/fx_string.h" // For CFX_WideString. -#include "../../include/fsdk_define.h" // For FX_UINT. +#include "../../include/fsdk_define.h" // For FX_UINT. +#include "core/include/fxcrt/fx_string.h" // For CFX_WideString. class CJS_Context; |