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

Unified Diff: content/child/child_discardable_shared_memory_manager.cc

Issue 1259333003: [tracing] Add SkResourceCache as suballocation to avoid double counting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@skia_v1
Patch Set: Nits. Created 5 years, 5 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/child/child_discardable_shared_memory_manager.cc
diff --git a/content/child/child_discardable_shared_memory_manager.cc b/content/child/child_discardable_shared_memory_manager.cc
index 5bdcef7337279443eb335df5bdde37cdbd926d88..6a98c96aa0b606052ab31b7892340259abce202d 100644
--- a/content/child/child_discardable_shared_memory_manager.cc
+++ b/content/child/child_discardable_shared_memory_manager.cc
@@ -192,6 +192,8 @@ ChildDiscardableSharedMemoryManager::AllocateLockedDiscardableMemory(
bool ChildDiscardableSharedMemoryManager::OnMemoryDump(
base::trace_event::ProcessMemoryDump* pmd) {
+ DiscardableMemoryAllocator::CreateMemoryPoolDumpForTracing(pmd);
+
base::AutoLock lock(lock_);
return heap_.OnMemoryDump(pmd);
}

Powered by Google App Engine
This is Rietveld 408576698