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

Unified Diff: content/common/host_discardable_shared_memory_manager.cc

Issue 1406213005: [tracing] Add names to memory-infra dumpers for debugging (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@memory-infra-runtime
Patch Set: Created 5 years, 2 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/host_discardable_shared_memory_manager.cc
diff --git a/content/common/host_discardable_shared_memory_manager.cc b/content/common/host_discardable_shared_memory_manager.cc
index 539136179e3affa9d0b61f74a7945311cd9476dc..1188217d2bea791dd5fcbb220240aa6d63a9e783 100644
--- a/content/common/host_discardable_shared_memory_manager.cc
+++ b/content/common/host_discardable_shared_memory_manager.cc
@@ -127,7 +127,7 @@ HostDiscardableSharedMemoryManager::HostDiscardableSharedMemoryManager()
weak_ptr_factory_(this) {
DCHECK_NE(memory_limit_, 0u);
base::trace_event::MemoryDumpManager::GetInstance()->RegisterDumpProvider(
- this);
+ this, "HostDiscardableSharedMemoryManager");
}
HostDiscardableSharedMemoryManager::~HostDiscardableSharedMemoryManager() {

Powered by Google App Engine
This is Rietveld 408576698