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

Unified Diff: content/common/discardable_shared_memory_heap_perftest.cc

Issue 1100073004: Adding discardable memory dump provider. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase for interface changes. Created 5 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: content/common/discardable_shared_memory_heap_perftest.cc
diff --git a/content/common/discardable_shared_memory_heap_perftest.cc b/content/common/discardable_shared_memory_heap_perftest.cc
index 566f094b94f933b510ecd25f0aa31bfcce737ab6..304f3bf67a961d99484f6e7af6f49fadaa08e4fc 100644
--- a/content/common/discardable_shared_memory_heap_perftest.cc
+++ b/content/common/discardable_shared_memory_heap_perftest.cc
@@ -38,7 +38,7 @@ TEST(DiscardableSharedMemoryHeapTest, SearchFreeLists) {
new base::DiscardableSharedMemory);
ASSERT_TRUE(memory->CreateAndMap(segment_size));
heap.MergeIntoFreeLists(
- heap.Grow(memory.Pass(), segment_size, base::Bind(NullTask)).Pass());
+ heap.Grow(memory.Pass(), segment_size, 0, base::Bind(NullTask)).Pass());
picksi 2015/04/29 15:30:15 Is 0 a special ID? Can we pass it as a named stati
reveman 2015/04/29 15:40:29 Maybe just add a next_discardable_shared_memory_id
}
unsigned kSeed = 1;
« no previous file with comments | « content/common/discardable_shared_memory_heap.cc ('k') | content/common/discardable_shared_memory_heap_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698