summaryrefslogtreecommitdiff
path: root/core/fxcrt
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-10-09 22:41:10 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-09 22:41:10 +0000
commitbf2d7b7588c744183d0ee845b173e52f0fbda220 (patch)
tree591679bd80c62c81ca2ad10e85ef0347c80cc546 /core/fxcrt
parent8e926a4c3079de0d56304258b460592c92c3a902 (diff)
downloadpdfium-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/fxcrt')
-rw-r--r--core/fxcrt/cfx_char.h1
-rw-r--r--core/fxcrt/fx_unicode.h2
-rw-r--r--core/fxcrt/string_view_template.h1
3 files changed, 2 insertions, 2 deletions
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"