diff options
author | dsinclair <dsinclair@chromium.org> | 2016-09-13 18:10:34 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-13 18:10:34 -0700 |
commit | 2ca2da505ba75cd830539ffc98dfc482fd4daa41 (patch) | |
tree | 1f31a1201b63b7de23564f678423d11e58e8a1b4 /core | |
parent | 3d704888eb6f5c72edd3abe6e5e48a62ef218975 (diff) | |
download | pdfium-2ca2da505ba75cd830539ffc98dfc482fd4daa41.tar.xz |
Sort include entries.
This CL updates all of the includes to be correctly sorted. A PRESUBMIT warning
is added (from chromium) that will warn if the includes are in the wrong order on upload.
Review-Url: https://codereview.chromium.org/2337293002
Diffstat (limited to 'core')
-rw-r--r-- | core/fpdfapi/fpdf_page/pageint.h | 2 | ||||
-rw-r--r-- | core/fpdfapi/fpdf_render/cpdf_type3cache.cpp | 4 | ||||
-rw-r--r-- | core/fpdfdoc/cpdf_apsettings.h | 2 | ||||
-rw-r--r-- | core/fpdfdoc/cpdf_variabletext.cpp | 2 | ||||
-rw-r--r-- | core/fpdfdoc/ctypeset.cpp | 2 | ||||
-rw-r--r-- | core/fxge/android/fx_android_font.h | 2 | ||||
-rw-r--r-- | core/fxge/ge/cfx_folderfontinfo.h | 2 | ||||
-rw-r--r-- | core/fxge/ge/cfx_fontmapper.cpp | 2 | ||||
-rw-r--r-- | core/fxge/win32/fx_win32_device.cpp | 2 | ||||
-rw-r--r-- | core/fxge/win32/fx_win32_print.cpp | 2 |
10 files changed, 11 insertions, 11 deletions
diff --git a/core/fpdfapi/fpdf_page/pageint.h b/core/fpdfapi/fpdf_page/pageint.h index 72f3184529..427a363e8e 100644 --- a/core/fpdfapi/fpdf_page/pageint.h +++ b/core/fpdfapi/fpdf_page/pageint.h @@ -9,8 +9,8 @@ #include <map> #include <memory> -#include <unordered_map> #include <set> +#include <unordered_map> #include <vector> #include "core/fpdfapi/fpdf_page/cpdf_contentmark.h" diff --git a/core/fpdfapi/fpdf_render/cpdf_type3cache.cpp b/core/fpdfapi/fpdf_render/cpdf_type3cache.cpp index a414d3c589..a1856ba5e1 100644 --- a/core/fpdfapi/fpdf_render/cpdf_type3cache.cpp +++ b/core/fpdfapi/fpdf_render/cpdf_type3cache.cpp @@ -9,11 +9,11 @@ #include <map> #include <memory> -#include "core/fxge/include/fx_dib.h" -#include "core/fxge/include/fx_font.h" #include "core/fpdfapi/fpdf_font/cpdf_type3char.h" #include "core/fpdfapi/fpdf_font/cpdf_type3font.h" #include "core/fpdfapi/fpdf_render/cpdf_type3glyphs.h" +#include "core/fxge/include/fx_dib.h" +#include "core/fxge/include/fx_font.h" namespace { diff --git a/core/fpdfdoc/cpdf_apsettings.h b/core/fpdfdoc/cpdf_apsettings.h index d2bca5c5ee..860807efd2 100644 --- a/core/fpdfdoc/cpdf_apsettings.h +++ b/core/fpdfdoc/cpdf_apsettings.h @@ -7,10 +7,10 @@ #ifndef CORE_FPDFDOC_CPDF_APSETTINGS_H_ #define CORE_FPDFDOC_CPDF_APSETTINGS_H_ +#include "core/fpdfdoc/include/cpdf_iconfit.h" #include "core/fxcrt/include/fx_string.h" #include "core/fxcrt/include/fx_system.h" #include "core/fxge/include/fx_dib.h" -#include "core/fpdfdoc/include/cpdf_iconfit.h" class CPDF_Dictionary; class CPDF_FormControl; diff --git a/core/fpdfdoc/cpdf_variabletext.cpp b/core/fpdfdoc/cpdf_variabletext.cpp index 12cf274321..4527fd0367 100644 --- a/core/fpdfdoc/cpdf_variabletext.cpp +++ b/core/fpdfdoc/cpdf_variabletext.cpp @@ -7,8 +7,8 @@ #include "core/fpdfdoc/include/cpdf_variabletext.h" #include "core/fpdfapi/fpdf_font/include/cpdf_font.h" -#include "core/fpdfdoc/cpvt_wordinfo.h" #include "core/fpdfdoc/cline.h" +#include "core/fpdfdoc/cpvt_wordinfo.h" #include "core/fpdfdoc/csection.h" #include "core/fpdfdoc/include/cpvt_section.h" #include "core/fpdfdoc/include/cpvt_word.h" diff --git a/core/fpdfdoc/ctypeset.cpp b/core/fpdfdoc/ctypeset.cpp index 082cef8187..0e5ef2d41b 100644 --- a/core/fpdfdoc/ctypeset.cpp +++ b/core/fpdfdoc/ctypeset.cpp @@ -9,8 +9,8 @@ #include <algorithm> #include "core/fpdfdoc/cline.h" -#include "core/fpdfdoc/csection.h" #include "core/fpdfdoc/cpvt_wordinfo.h" +#include "core/fpdfdoc/csection.h" namespace { diff --git a/core/fxge/android/fx_android_font.h b/core/fxge/android/fx_android_font.h index ad777f3e58..f980836328 100644 --- a/core/fxge/android/fx_android_font.h +++ b/core/fxge/android/fx_android_font.h @@ -12,8 +12,8 @@ #if _FX_OS_ == _FX_ANDROID_ #include "core/fxge/include/cfx_fontmapper.h" -#include "core/fxge/include/ifx_systemfontinfo.h" #include "core/fxge/include/fx_font.h" +#include "core/fxge/include/ifx_systemfontinfo.h" class CFPF_SkiaFontMgr; diff --git a/core/fxge/ge/cfx_folderfontinfo.h b/core/fxge/ge/cfx_folderfontinfo.h index c0ce01cd36..2a8d05b3fd 100644 --- a/core/fxge/ge/cfx_folderfontinfo.h +++ b/core/fxge/ge/cfx_folderfontinfo.h @@ -11,8 +11,8 @@ #include <vector> #include "core/fxge/include/cfx_fontmapper.h" -#include "core/fxge/include/ifx_systemfontinfo.h" #include "core/fxge/include/fx_font.h" +#include "core/fxge/include/ifx_systemfontinfo.h" class CFX_FolderFontInfo : public IFX_SystemFontInfo { public: diff --git a/core/fxge/ge/cfx_fontmapper.cpp b/core/fxge/ge/cfx_fontmapper.cpp index 37c1d03785..08677ee650 100644 --- a/core/fxge/ge/cfx_fontmapper.cpp +++ b/core/fxge/ge/cfx_fontmapper.cpp @@ -11,8 +11,8 @@ #include <vector> #include "core/fxge/include/cfx_substfont.h" -#include "core/fxge/include/ifx_systemfontinfo.h" #include "core/fxge/include/fx_font.h" +#include "core/fxge/include/ifx_systemfontinfo.h" #include "third_party/base/stl_util.h" diff --git a/core/fxge/win32/fx_win32_device.cpp b/core/fxge/win32/fx_win32_device.cpp index 4885cd00cc..9a54dd7f73 100644 --- a/core/fxge/win32/fx_win32_device.cpp +++ b/core/fxge/win32/fx_win32_device.cpp @@ -28,9 +28,9 @@ #include "core/fxge/include/cfx_graphstatedata.h" #include "core/fxge/include/cfx_pathdata.h" #include "core/fxge/include/cfx_windowsdevice.h" -#include "core/fxge/include/ifx_systemfontinfo.h" #include "core/fxge/include/fx_font.h" #include "core/fxge/include/fx_freetype.h" +#include "core/fxge/include/ifx_systemfontinfo.h" #include "core/fxge/win32/cfx_windowsdib.h" #include "core/fxge/win32/dwrite_int.h" #include "core/fxge/win32/win32_int.h" diff --git a/core/fxge/win32/fx_win32_print.cpp b/core/fxge/win32/fx_win32_print.cpp index 6b9c2cce35..bc5bb92d5e 100644 --- a/core/fxge/win32/fx_win32_print.cpp +++ b/core/fxge/win32/fx_win32_print.cpp @@ -14,10 +14,10 @@ #include "core/fxge/dib/dib_int.h" #include "core/fxge/ge/fx_text_int.h" -#include "core/fxge/include/fx_freetype.h" #include "core/fxge/include/cfx_fontcache.h" #include "core/fxge/include/cfx_renderdevice.h" #include "core/fxge/include/cfx_windowsdevice.h" +#include "core/fxge/include/fx_freetype.h" #include "core/fxge/win32/win32_int.h" #if defined(PDFIUM_PRINT_TEXT_WITH_GDI) |