Index: base/memory/discardable_memory_unittest.cc |
diff --git a/base/memory/discardable_memory_unittest.cc b/base/memory/discardable_memory_unittest.cc |
index dc0e2cd21262b4d7da8dd3edb891b91bb8f2d5b7..516a96b5a4fa2576a6cb031877ddf7d7bff0cfac 100644 |
--- a/base/memory/discardable_memory_unittest.cc |
+++ b/base/memory/discardable_memory_unittest.cc |
@@ -6,7 +6,6 @@ |
#include <algorithm> |
-#include "base/run_loop.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#if defined(OS_ANDROID) |
@@ -19,12 +18,8 @@ namespace { |
class DiscardableMemoryTest |
: public testing::TestWithParam<DiscardableMemoryType> { |
public: |
- DiscardableMemoryTest() : message_loop_(MessageLoop::TYPE_IO) { |
- // Register memory pressure listeners now that we have a message loop. |
- DiscardableMemory::RegisterMemoryPressureListeners(); |
- } |
+ DiscardableMemoryTest() {} |
virtual ~DiscardableMemoryTest() { |
- DiscardableMemory::UnregisterMemoryPressureListeners(); |
} |
protected: |
@@ -32,9 +27,6 @@ class DiscardableMemoryTest |
return DiscardableMemory::CreateLockedMemoryWithType( |
GetParam(), size).Pass(); |
} |
- |
- private: |
- MessageLoop message_loop_; |
}; |
const size_t kSize = 1024; |