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 /core | |
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>
Diffstat (limited to 'core')
-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 |
10 files changed, 2 insertions, 9 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" |