From c52e30019ca616bd9b5a1fa9ef6cbd7fd3cea5c7 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Mon, 1 Oct 2018 17:38:38 +0000 Subject: Fix #include ordering / formatting. Change-Id: I996c9b32d767960a5388e44e13180e1f6577ce38 Reviewed-on: https://pdfium-review.googlesource.com/43190 Commit-Queue: Ryan Harrison Reviewed-by: Ryan Harrison --- core/fxcrt/cfx_datetime.cpp | 1 + core/fxcrt/fx_memory.cpp | 3 ++- core/fxcrt/fx_string.cpp | 3 ++- core/fxcrt/xml/cfx_xmldocument.cpp | 1 + 4 files changed, 6 insertions(+), 2 deletions(-) (limited to 'core/fxcrt') diff --git a/core/fxcrt/cfx_datetime.cpp b/core/fxcrt/cfx_datetime.cpp index 9dcf6325ca..0147b59fe2 100644 --- a/core/fxcrt/cfx_datetime.cpp +++ b/core/fxcrt/cfx_datetime.cpp @@ -5,6 +5,7 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "core/fxcrt/cfx_datetime.h" + #include "core/fxcrt/fx_system.h" #if _FX_OS_ == _FX_OS_LINUX_ || _FX_OS_ == _FX_OS_ANDROID_ || \ diff --git a/core/fxcrt/fx_memory.cpp b/core/fxcrt/fx_memory.cpp index c0ca7a02df..73d894aefa 100644 --- a/core/fxcrt/fx_memory.cpp +++ b/core/fxcrt/fx_memory.cpp @@ -4,9 +4,10 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com +#include "core/fxcrt/fx_memory.h" + #include // For abort(). -#include "core/fxcrt/fx_memory.h" #include "core/fxcrt/fx_safe_types.h" #include "third_party/base/debug/alias.h" diff --git a/core/fxcrt/fx_string.cpp b/core/fxcrt/fx_string.cpp index 31eb8e917d..944f467751 100644 --- a/core/fxcrt/fx_string.cpp +++ b/core/fxcrt/fx_string.cpp @@ -4,13 +4,14 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com +#include "core/fxcrt/fx_string.h" + #include #include #include "core/fxcrt/cfx_utf8decoder.h" #include "core/fxcrt/cfx_utf8encoder.h" #include "core/fxcrt/fx_extension.h" -#include "core/fxcrt/fx_string.h" #include "third_party/base/compiler_specific.h" ByteString FX_UTF8Encode(const WideStringView& wsStr) { diff --git a/core/fxcrt/xml/cfx_xmldocument.cpp b/core/fxcrt/xml/cfx_xmldocument.cpp index 5ce4aed694..73f19d1c7d 100644 --- a/core/fxcrt/xml/cfx_xmldocument.cpp +++ b/core/fxcrt/xml/cfx_xmldocument.cpp @@ -3,6 +3,7 @@ // found in the LICENSE file. #include "core/fxcrt/xml/cfx_xmldocument.h" + #include "core/fxcrt/fx_system.h" #include "core/fxcrt/xml/cfx_xmlinstruction.h" #include "third_party/base/ptr_util.h" -- cgit v1.2.3