summaryrefslogtreecommitdiff
path: root/core/fxcrt
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-10-01 17:38:38 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-01 17:38:38 +0000
commitc52e30019ca616bd9b5a1fa9ef6cbd7fd3cea5c7 (patch)
tree942b46d2c188eb44335b7706b1946ae92947a1e4 /core/fxcrt
parent42c4ed3ee05f318f66635b18ca5e498c5bd25dd2 (diff)
downloadpdfium-c52e30019ca616bd9b5a1fa9ef6cbd7fd3cea5c7.tar.xz
Fix #include ordering / formatting.
Change-Id: I996c9b32d767960a5388e44e13180e1f6577ce38 Reviewed-on: https://pdfium-review.googlesource.com/43190 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fxcrt')
-rw-r--r--core/fxcrt/cfx_datetime.cpp1
-rw-r--r--core/fxcrt/fx_memory.cpp3
-rw-r--r--core/fxcrt/fx_string.cpp3
-rw-r--r--core/fxcrt/xml/cfx_xmldocument.cpp1
4 files changed, 6 insertions, 2 deletions
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 <stdlib.h> // 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 <limits>
#include <vector>
#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"