summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2016-03-24 17:15:56 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-25 00:17:06 +0000
commit78c59d89fca86f4f27cb70e5b2a9583912182f77 (patch)
treecdb16ab60617cd7201b2553554862b89a4304bd4 /base
parent467b5a8a1ccb999cbbd04a86bdec9a893e960a2c (diff)
downloadchromium_src-78c59d89fca86f4f27cb70e5b2a9583912182f77.zip
chromium_src-78c59d89fca86f4f27cb70e5b2a9583912182f77.tar.gz
chromium_src-78c59d89fca86f4f27cb70e5b2a9583912182f77.tar.bz2
Remove more headers from base/memory/scoped_ptr.h
BUG=554298 Review URL: https://codereview.chromium.org/1830183004 Cr-Commit-Position: refs/heads/master@{#383199}
Diffstat (limited to 'base')
-rw-r--r--base/memory/scoped_ptr.h3
-rw-r--r--base/test/test_discardable_memory_allocator.cc1
2 files changed, 1 insertions, 3 deletions
diff --git a/base/memory/scoped_ptr.h b/base/memory/scoped_ptr.h
index 4483594..849c0d8 100644
--- a/base/memory/scoped_ptr.h
+++ b/base/memory/scoped_ptr.h
@@ -95,12 +95,9 @@
#include <stddef.h>
#include <stdlib.h>
-#include <iosfwd>
#include <memory>
-#include <type_traits>
#include <utility>
-#include "base/logging.h"
#include "base/macros.h"
namespace base {
diff --git a/base/test/test_discardable_memory_allocator.cc b/base/test/test_discardable_memory_allocator.cc
index 7ed0a45..0f8e8ce 100644
--- a/base/test/test_discardable_memory_allocator.cc
+++ b/base/test/test_discardable_memory_allocator.cc
@@ -7,6 +7,7 @@
#include <cstdint>
#include <cstring>
+#include "base/logging.h"
#include "base/memory/discardable_memory.h"
namespace base {