From 99f5bbb53316543f4f20ea937b5abc98efe91bf9 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 9 Oct 2018 21:31:28 +0000 Subject: Do IWYU for ptr_util.h. Change-Id: Ib96a66eb47bea791f061e1d6da8aadad8037a99d Reviewed-on: https://pdfium-review.googlesource.com/c/43609 Commit-Queue: Lei Zhang Reviewed-by: Tom Sepez --- testing/fuzzers/pdf_bidi_fuzzer.cc | 1 + testing/fuzzers/pdf_cmap_fuzzer.cc | 1 - testing/fuzzers/pdf_xml_fuzzer.cc | 1 - testing/unit_test_main.cpp | 1 + 4 files changed, 2 insertions(+), 2 deletions(-) (limited to 'testing') 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 #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" -- cgit v1.2.3