Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1515)

Unified Diff: base/memory/discardable_memory_manager_unittest.cc

Issue 195863005: Use DiscardableMemoryManager on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add |DiscardableMemoryAshmem::is_locked| Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/memory/discardable_memory_manager_unittest.cc
diff --git a/base/memory/discardable_memory_manager_unittest.cc b/base/memory/discardable_memory_manager_unittest.cc
index 58a9603ec86354685ac613199e204cd027deff7e..c59d82e51695ef8531626faa8d1934cad74a62f0 100644
--- a/base/memory/discardable_memory_manager_unittest.cc
+++ b/base/memory/discardable_memory_manager_unittest.cc
@@ -19,7 +19,7 @@ class TestAllocationImpl : public internal::DiscardableMemoryManagerAllocation {
virtual ~TestAllocationImpl() { DCHECK(!is_locked_); }
// Overridden from internal::DiscardableMemoryManagerAllocation:
- virtual bool AllocateAndAcquireLock(size_t bytes) OVERRIDE {
+ virtual bool AllocateAndAcquireLock() OVERRIDE {
bool was_allocated = is_allocated_;
is_allocated_ = true;
DCHECK(!is_locked_);

Powered by Google App Engine
This is Rietveld 408576698