summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-10-09 21:31:28 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-09 21:31:28 +0000
commit99f5bbb53316543f4f20ea937b5abc98efe91bf9 (patch)
tree96821bdefa2b522b83914f205a937d1af350468a /testing
parenta021def0a4a500ee8373d37f7122097927387873 (diff)
downloadpdfium-99f5bbb53316543f4f20ea937b5abc98efe91bf9.tar.xz
Do IWYU for ptr_util.h.
Change-Id: Ib96a66eb47bea791f061e1d6da8aadad8037a99d Reviewed-on: https://pdfium-review.googlesource.com/c/43609 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'testing')
-rw-r--r--testing/fuzzers/pdf_bidi_fuzzer.cc1
-rw-r--r--testing/fuzzers/pdf_cmap_fuzzer.cc1
-rw-r--r--testing/fuzzers/pdf_xml_fuzzer.cc1
-rw-r--r--testing/unit_test_main.cpp1
4 files changed, 2 insertions, 2 deletions
diff --git a/testing/fuzzers/pdf_bidi_fuzzer.cc b/testing/fuzzers/pdf_bidi_fuzzer.cc
index 8e52688a10..9a0e720812 100644
--- a/testing/fuzzers/pdf_bidi_fuzzer.cc
+++ b/testing/fuzzers/pdf_bidi_fuzzer.cc
@@ -7,6 +7,7 @@
#include "core/fxcrt/fx_bidi.h"
#include "core/fxcrt/widestring.h"
#include "core/fxge/cfx_font.h"
+#include "third_party/base/ptr_util.h"
#include "third_party/base/span.h"
#include "xfa/fgas/font/cfgas_fontmgr.h"
#include "xfa/fgas/font/cfgas_gefont.h"
diff --git a/testing/fuzzers/pdf_cmap_fuzzer.cc b/testing/fuzzers/pdf_cmap_fuzzer.cc
index 0c0ff11f36..7d35fd0ac9 100644
--- a/testing/fuzzers/pdf_cmap_fuzzer.cc
+++ b/testing/fuzzers/pdf_cmap_fuzzer.cc
@@ -5,7 +5,6 @@
#include <cstdint>
#include "core/fpdfapi/font/cpdf_cmap.h"
-#include "third_party/base/ptr_util.h"
#include "third_party/base/span.h"
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
diff --git a/testing/fuzzers/pdf_xml_fuzzer.cc b/testing/fuzzers/pdf_xml_fuzzer.cc
index efc171671c..cbf436daf5 100644
--- a/testing/fuzzers/pdf_xml_fuzzer.cc
+++ b/testing/fuzzers/pdf_xml_fuzzer.cc
@@ -12,7 +12,6 @@
#include "core/fxcrt/xml/cfx_xmldocument.h"
#include "core/fxcrt/xml/cfx_xmlelement.h"
#include "core/fxcrt/xml/cfx_xmlparser.h"
-#include "third_party/base/ptr_util.h"
#include "third_party/base/span.h"
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
diff --git a/testing/unit_test_main.cpp b/testing/unit_test_main.cpp
index 2bc14b9ba4..6c1aa1a22c 100644
--- a/testing/unit_test_main.cpp
+++ b/testing/unit_test_main.cpp
@@ -9,6 +9,7 @@
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/test_support.h"
+#include "third_party/base/ptr_util.h"
#ifdef PDF_ENABLE_V8
#include "v8/include/v8-platform.h"