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

Unified Diff: base/memory/discardable_memory_manager.cc

Issue 195863005: Use DiscardableMemoryManager on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nits Created 6 years, 9 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.cc
diff --git a/base/memory/discardable_memory_manager.cc b/base/memory/discardable_memory_manager.cc
index 3d2beae1c3665a66908af5bd4c8e00dacf545bb5..d796735fd85212e4fbfdbfed742119fde17410cc 100644
--- a/base/memory/discardable_memory_manager.cc
+++ b/base/memory/discardable_memory_manager.cc
@@ -120,6 +120,7 @@ void DiscardableMemoryManager::Unlock(AllocationId allocation_id) {
CHECK(it != allocations_.end());
DCHECK(it->second.allocation.get());
+ it->second.allocation->Unlock();
DCHECK(it->second.locked);
it->second.locked = false;
EnforcePolicyWithLockAcquired();
« base/memory/discardable_memory_android.cc ('K') | « base/memory/discardable_memory_ashmem.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698