summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-02-02 00:01:39 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-02-02 00:01:39 +0000
commitf7c84e910899237ffe673de83cdec6dc49f073b4 (patch)
tree53f0e1719cc8955108431345575818b425286957
parent59790cef1a09565e8b6799141cf45455ef2dc752 (diff)
downloadpdfium-f7c84e910899237ffe673de83cdec6dc49f073b4.tar.xz
Fix IWYU errors in fpdfppo.cpp.
Also rename the file to fpdf_ppo.cpp so it is consistent with the public header file name. This makes the linter happy. Change-Id: Ib3608c78111842579898c55f1399982ab2549310 Reviewed-on: https://pdfium-review.googlesource.com/24970 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
-rw-r--r--BUILD.gn2
-rw-r--r--fpdfsdk/fpdf_ppo.cpp (renamed from fpdfsdk/fpdfppo.cpp)1
2 files changed, 2 insertions, 1 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 54aa448b89..988d376ff5 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -136,6 +136,7 @@ jumbo_static_library("pdfium") {
"fpdfsdk/fpdf_dataavail.cpp",
"fpdfsdk/fpdf_ext.cpp",
"fpdfsdk/fpdf_flatten.cpp",
+ "fpdfsdk/fpdf_ppo.cpp",
"fpdfsdk/fpdf_progressive.cpp",
"fpdfsdk/fpdf_searchex.cpp",
"fpdfsdk/fpdf_structtree.cpp",
@@ -150,7 +151,6 @@ jumbo_static_library("pdfium") {
"fpdfsdk/fpdfeditpath.cpp",
"fpdfsdk/fpdfedittext.cpp",
"fpdfsdk/fpdfformfill.cpp",
- "fpdfsdk/fpdfppo.cpp",
"fpdfsdk/fpdfsave.cpp",
"fpdfsdk/fpdftext.cpp",
"fpdfsdk/fpdfview.cpp",
diff --git a/fpdfsdk/fpdfppo.cpp b/fpdfsdk/fpdf_ppo.cpp
index 3e6f099277..b5e128f150 100644
--- a/fpdfsdk/fpdfppo.cpp
+++ b/fpdfsdk/fpdf_ppo.cpp
@@ -6,6 +6,7 @@
#include "public/fpdf_ppo.h"
+#include <algorithm>
#include <map>
#include <memory>
#include <utility>