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

Unified Diff: trunk/src/base/memory/discardable_memory_manager.h

Issue 257383004: Revert 267170 "Use DiscardableMemoryManager on Android." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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: trunk/src/base/memory/discardable_memory_manager.h
===================================================================
--- trunk/src/base/memory/discardable_memory_manager.h (revision 267174)
+++ trunk/src/base/memory/discardable_memory_manager.h (working copy)
@@ -21,7 +21,7 @@
// Allocate and acquire a lock that prevents the allocation from being purged
// by the system. Returns true if memory was previously allocated and is still
// resident.
- virtual bool AllocateAndAcquireLock() = 0;
+ virtual bool AllocateAndAcquireLock(size_t bytes) = 0;
// Release a previously acquired lock on the allocation so that it can be
// purged by the system.
« no previous file with comments | « trunk/src/base/memory/discardable_memory_mac.cc ('k') | trunk/src/base/memory/discardable_memory_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698