diff options
author | Lei Zhang <thestig@chromium.org> | 2018-10-09 22:41:10 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-09 22:41:10 +0000 |
commit | bf2d7b7588c744183d0ee845b173e52f0fbda220 (patch) | |
tree | 591679bd80c62c81ca2ad10e85ef0347c80cc546 | |
parent | 8e926a4c3079de0d56304258b460592c92c3a902 (diff) | |
download | pdfium-bf2d7b7588c744183d0ee845b173e52f0fbda220.tar.xz |
Do IWYU for retain_ptr.h and unowned_ptr.h
Change-Id: I2897feee27f80c85f0328f0b220ae5be93686170
Reviewed-on: https://pdfium-review.googlesource.com/c/43610
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
-rw-r--r-- | core/fpdfapi/parser/cpdf_crypto_handler.h | 1 | ||||
-rw-r--r-- | core/fpdfapi/render/cpdf_dibtransferfunc.h | 1 | ||||
-rw-r--r-- | core/fxcodec/codec/ccodec_bmpmodule.cpp | 1 | ||||
-rw-r--r-- | core/fxcodec/codec/ccodec_bmpmodule.h | 1 | ||||
-rw-r--r-- | core/fxcodec/gif/cfx_gifcontext_unittest.cpp | 1 | ||||
-rw-r--r-- | core/fxcrt/cfx_char.h | 1 | ||||
-rw-r--r-- | core/fxcrt/fx_unicode.h | 2 | ||||
-rw-r--r-- | core/fxcrt/string_view_template.h | 1 | ||||
-rw-r--r-- | core/fxge/cfx_facecache.h | 1 | ||||
-rw-r--r-- | core/fxge/fx_font.h | 1 | ||||
-rw-r--r-- | fpdfsdk/cpdfsdk_annothandlermgr.h | 1 | ||||
-rw-r--r-- | fxjs/cfxjse_runtimedata.h | 1 | ||||
-rw-r--r-- | testing/fuzzers/pdf_css_fuzzer.cc | 1 | ||||
-rw-r--r-- | testing/js_embedder_test.h | 1 | ||||
-rw-r--r-- | xfa/fxfa/cxfa_ffapp.h | 1 |
15 files changed, 2 insertions, 14 deletions
diff --git a/core/fpdfapi/parser/cpdf_crypto_handler.h b/core/fpdfapi/parser/cpdf_crypto_handler.h index 3f65f6ea63..be2ba16e00 100644 --- a/core/fpdfapi/parser/cpdf_crypto_handler.h +++ b/core/fpdfapi/parser/cpdf_crypto_handler.h @@ -14,7 +14,6 @@ #include "core/fxcrt/fx_memory.h" #include "core/fxcrt/fx_string.h" #include "core/fxcrt/fx_system.h" -#include "core/fxcrt/retain_ptr.h" #include "third_party/base/span.h" class CPDF_Dictionary; diff --git a/core/fpdfapi/render/cpdf_dibtransferfunc.h b/core/fpdfapi/render/cpdf_dibtransferfunc.h index 62e0157665..9db97f16e9 100644 --- a/core/fpdfapi/render/cpdf_dibtransferfunc.h +++ b/core/fpdfapi/render/cpdf_dibtransferfunc.h @@ -9,7 +9,6 @@ #include <vector> -#include "core/fxcrt/unowned_ptr.h" #include "core/fxge/dib/cfx_filtereddib.h" #include "core/fxge/fx_dib.h" diff --git a/core/fxcodec/codec/ccodec_bmpmodule.cpp b/core/fxcodec/codec/ccodec_bmpmodule.cpp index 37a0b2cb29..359dbc1f90 100644 --- a/core/fxcodec/codec/ccodec_bmpmodule.cpp +++ b/core/fxcodec/codec/ccodec_bmpmodule.cpp @@ -11,7 +11,6 @@ #include "core/fxcodec/bmp/cfx_bmpcontext.h" #include "core/fxcodec/codec/codec_int.h" #include "core/fxcodec/fx_codec.h" -#include "core/fxcrt/unowned_ptr.h" #include "core/fxge/fx_dib.h" #include "third_party/base/ptr_util.h" diff --git a/core/fxcodec/codec/ccodec_bmpmodule.h b/core/fxcodec/codec/ccodec_bmpmodule.h index f8a82727bc..7a560880a1 100644 --- a/core/fxcodec/codec/ccodec_bmpmodule.h +++ b/core/fxcodec/codec/ccodec_bmpmodule.h @@ -12,7 +12,6 @@ #include "core/fxcodec/codec/codec_module_iface.h" #include "core/fxcrt/fx_system.h" -#include "core/fxcrt/unowned_ptr.h" #include "third_party/base/span.h" class CFX_DIBAttribute; diff --git a/core/fxcodec/gif/cfx_gifcontext_unittest.cpp b/core/fxcodec/gif/cfx_gifcontext_unittest.cpp index 31cac45795..24b8acd769 100644 --- a/core/fxcodec/gif/cfx_gifcontext_unittest.cpp +++ b/core/fxcodec/gif/cfx_gifcontext_unittest.cpp @@ -4,7 +4,6 @@ #include "core/fxcodec/gif/cfx_gifcontext.h" -#include "core/fxcrt/unowned_ptr.h" #include "testing/gtest/include/gtest/gtest.h" class CFX_GifContextForTest final : public CFX_GifContext { diff --git a/core/fxcrt/cfx_char.h b/core/fxcrt/cfx_char.h index 268aa99c39..f680b595fb 100644 --- a/core/fxcrt/cfx_char.h +++ b/core/fxcrt/cfx_char.h @@ -10,6 +10,7 @@ #include <stdint.h> #include "core/fxcrt/fx_unicode.h" +#include "core/fxcrt/retain_ptr.h" enum class CFX_BreakType { None = 0, Piece, Line, Paragraph, Page }; diff --git a/core/fxcrt/fx_unicode.h b/core/fxcrt/fx_unicode.h index 18657bd0e1..b1c1b0dd84 100644 --- a/core/fxcrt/fx_unicode.h +++ b/core/fxcrt/fx_unicode.h @@ -7,7 +7,7 @@ #ifndef CORE_FXCRT_FX_UNICODE_H_ #define CORE_FXCRT_FX_UNICODE_H_ -#include "core/fxcrt/retain_ptr.h" +#include <stdint.h> uint32_t FX_GetUnicodeProperties(wchar_t wch); wchar_t FX_GetMirrorChar(wchar_t wch); diff --git a/core/fxcrt/string_view_template.h b/core/fxcrt/string_view_template.h index e459f2d275..e1924feb84 100644 --- a/core/fxcrt/string_view_template.h +++ b/core/fxcrt/string_view_template.h @@ -13,7 +13,6 @@ #include <vector> #include "core/fxcrt/fx_system.h" -#include "core/fxcrt/unowned_ptr.h" #include "third_party/base/optional.h" #include "third_party/base/span.h" #include "third_party/base/stl_util.h" diff --git a/core/fxge/cfx_facecache.h b/core/fxge/cfx_facecache.h index c7b0593d6e..f5e02e6b5d 100644 --- a/core/fxge/cfx_facecache.h +++ b/core/fxge/cfx_facecache.h @@ -11,7 +11,6 @@ #include <memory> #include <tuple> -#include "core/fxcrt/unowned_ptr.h" #include "core/fxge/fx_font.h" #include "core/fxge/fx_freetype.h" diff --git a/core/fxge/fx_font.h b/core/fxge/fx_font.h index 163468d125..3a68c2251b 100644 --- a/core/fxge/fx_font.h +++ b/core/fxge/fx_font.h @@ -10,7 +10,6 @@ #include <vector> #include "core/fxcrt/fx_system.h" -#include "core/fxcrt/unowned_ptr.h" #include "core/fxge/cfx_substfont.h" #include "core/fxge/dib/cfx_dibitmap.h" #include "core/fxge/fx_dib.h" diff --git a/fpdfsdk/cpdfsdk_annothandlermgr.h b/fpdfsdk/cpdfsdk_annothandlermgr.h index 55b13f3a9b..690e46cd2e 100644 --- a/fpdfsdk/cpdfsdk_annothandlermgr.h +++ b/fpdfsdk/cpdfsdk_annothandlermgr.h @@ -11,7 +11,6 @@ #include "core/fpdfdoc/cpdf_annot.h" #include "core/fxcrt/fx_coordinates.h" -#include "core/fxcrt/unowned_ptr.h" #include "fpdfsdk/cpdfsdk_annot.h" class CFX_Matrix; diff --git a/fxjs/cfxjse_runtimedata.h b/fxjs/cfxjse_runtimedata.h index fd4cbd7c4e..fb846a7c9c 100644 --- a/fxjs/cfxjse_runtimedata.h +++ b/fxjs/cfxjse_runtimedata.h @@ -9,7 +9,6 @@ #include <memory> -#include "core/fxcrt/unowned_ptr.h" #include "v8/include/v8.h" class CFXJSE_RuntimeList; diff --git a/testing/fuzzers/pdf_css_fuzzer.cc b/testing/fuzzers/pdf_css_fuzzer.cc index 4f2f410aa3..f820972b56 100644 --- a/testing/fuzzers/pdf_css_fuzzer.cc +++ b/testing/fuzzers/pdf_css_fuzzer.cc @@ -7,7 +7,6 @@ #include "core/fxcrt/css/cfx_css.h" #include "core/fxcrt/css/cfx_csssyntaxparser.h" #include "core/fxcrt/fx_string.h" -#include "core/fxcrt/retain_ptr.h" extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { WideString input = diff --git a/testing/js_embedder_test.h b/testing/js_embedder_test.h index 089670e25b..6f694a7438 100644 --- a/testing/js_embedder_test.h +++ b/testing/js_embedder_test.h @@ -7,7 +7,6 @@ #include <memory> -#include "core/fxcrt/unowned_ptr.h" #include "fxjs/cfxjs_engine.h" #include "testing/embedder_test.h" diff --git a/xfa/fxfa/cxfa_ffapp.h b/xfa/fxfa/cxfa_ffapp.h index 4a93780657..edfdf06266 100644 --- a/xfa/fxfa/cxfa_ffapp.h +++ b/xfa/fxfa/cxfa_ffapp.h @@ -11,7 +11,6 @@ #include "core/fpdfapi/parser/cpdf_stream.h" #include "core/fpdfapi/parser/cpdf_stream_acc.h" -#include "core/fxcrt/retain_ptr.h" #include "core/fxcrt/unowned_ptr.h" #include "xfa/fwl/cfwl_app.h" #include "xfa/fxfa/cxfa_fontmgr.h" |