summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-08-28 22:37:20 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-08-28 22:37:20 +0000
commit48cd65d67eead592bce6c67084047ad6a7071267 (patch)
treece99b96dc49923836b1954b7fc08a68f9f7fc592 /core
parent126927eaec336153e3be43086deee672829395f1 (diff)
downloadpdfium-48cd65d67eead592bce6c67084047ad6a7071267.tar.xz
Rename remaining fx_codec*.cpp to match class and .h file name
Then include headers in the proper order per standards, since it will no longer trigger a presubmit warning. Change-Id: I6bb86ac90e8fd9aed30b66dac61726f0dea8222c Reviewed-on: https://pdfium-review.googlesource.com/41535 Commit-Queue: Tom Sepez <tsepez@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core')
-rw-r--r--core/fxcodec/codec/ccodec_faxmodule.cpp (renamed from core/fxcodec/codec/fx_codec_fax.cpp)3
-rw-r--r--core/fxcodec/codec/ccodec_flatemodule.cpp (renamed from core/fxcodec/codec/fx_codec_flate.cpp)4
-rw-r--r--core/fxcodec/codec/ccodec_iccmodule.cpp (renamed from core/fxcodec/codec/fx_codec_icc.cpp)3
-rw-r--r--core/fxcodec/codec/ccodec_jbig2module.cpp (renamed from core/fxcodec/codec/fx_codec_jbig.cpp)0
-rw-r--r--core/fxcodec/codec/ccodec_jpxmodule.cpp (renamed from core/fxcodec/codec/fx_codec_jpx_opj.cpp)3
5 files changed, 8 insertions, 5 deletions
diff --git a/core/fxcodec/codec/fx_codec_fax.cpp b/core/fxcodec/codec/ccodec_faxmodule.cpp
index c6e71b6b60..af218f7e01 100644
--- a/core/fxcodec/codec/fx_codec_fax.cpp
+++ b/core/fxcodec/codec/ccodec_faxmodule.cpp
@@ -4,11 +4,12 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+#include "core/fxcodec/codec/ccodec_faxmodule.h"
+
#include <algorithm>
#include <memory>
#include <vector>
-#include "core/fxcodec/codec/ccodec_faxmodule.h"
#include "core/fxcodec/codec/ccodec_scanlinedecoder.h"
#include "core/fxcodec/codec/codec_int.h"
#include "core/fxcrt/cfx_binarybuf.h"
diff --git a/core/fxcodec/codec/fx_codec_flate.cpp b/core/fxcodec/codec/ccodec_flatemodule.cpp
index 11bdf67c42..9074038c96 100644
--- a/core/fxcodec/codec/fx_codec_flate.cpp
+++ b/core/fxcodec/codec/ccodec_flatemodule.cpp
@@ -4,7 +4,7 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "core/fxcodec/fx_codec.h"
+#include "core/fxcodec/codec/ccodec_flatemodule.h"
#include <algorithm>
#include <limits>
@@ -12,8 +12,8 @@
#include <utility>
#include <vector>
-#include "core/fxcodec/codec/ccodec_flatemodule.h"
#include "core/fxcodec/codec/ccodec_scanlinedecoder.h"
+#include "core/fxcodec/fx_codec.h"
#include "core/fxcrt/fx_extension.h"
#include "third_party/base/numerics/safe_conversions.h"
#include "third_party/base/ptr_util.h"
diff --git a/core/fxcodec/codec/fx_codec_icc.cpp b/core/fxcodec/codec/ccodec_iccmodule.cpp
index 7ae93e59b4..74937b2807 100644
--- a/core/fxcodec/codec/fx_codec_icc.cpp
+++ b/core/fxcodec/codec/ccodec_iccmodule.cpp
@@ -4,11 +4,12 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+#include "core/fxcodec/codec/ccodec_iccmodule.h"
+
#include <algorithm>
#include <memory>
#include <vector>
-#include "core/fxcodec/codec/ccodec_iccmodule.h"
#include "core/fxcodec/codec/codec_int.h"
namespace {
diff --git a/core/fxcodec/codec/fx_codec_jbig.cpp b/core/fxcodec/codec/ccodec_jbig2module.cpp
index 36d6a0609e..36d6a0609e 100644
--- a/core/fxcodec/codec/fx_codec_jbig.cpp
+++ b/core/fxcodec/codec/ccodec_jbig2module.cpp
diff --git a/core/fxcodec/codec/fx_codec_jpx_opj.cpp b/core/fxcodec/codec/ccodec_jpxmodule.cpp
index 3e44b19a9d..ce6a1301fd 100644
--- a/core/fxcodec/codec/fx_codec_jpx_opj.cpp
+++ b/core/fxcodec/codec/ccodec_jpxmodule.cpp
@@ -4,6 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+#include "core/fxcodec/codec/ccodec_jpxmodule.h"
+
#include <algorithm>
#include <limits>
#include <memory>
@@ -11,7 +13,6 @@
#include <vector>
#include "core/fpdfapi/page/cpdf_colorspace.h"
-#include "core/fxcodec/codec/ccodec_jpxmodule.h"
#include "core/fxcodec/codec/cjpx_decoder.h"
#include "core/fxcrt/fx_memory.h"
#include "core/fxcrt/fx_safe_types.h"