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 c4fea8de54e0c7d3b2e2ab09e8485a2103a39756..49c24f812424dac4e3c16efe9eda29d1355126a2 100644 |
--- a/content/common/host_discardable_shared_memory_manager.cc |
+++ b/content/common/host_discardable_shared_memory_manager.cc |
@@ -398,11 +398,12 @@ void HostDiscardableSharedMemoryManager::ReleaseMemory( |
void HostDiscardableSharedMemoryManager::BytesAllocatedChanged( |
size_t new_bytes_allocated) const { |
- TRACE_COUNTER_ID1("renderer_host", "TotalDiscardableMemoryUsage", this, |
- new_bytes_allocated); |
+ TRACE_COUNTER1("renderer_host", "TotalDiscardableMemoryUsage", |
+ new_bytes_allocated); |
- static const char kTotalDiscardableMemoryUsageKey[] = "total-dm-usage"; |
- base::debug::SetCrashKeyValue(kTotalDiscardableMemoryUsageKey, |
+ static const char kTotalDiscardableMemoryAllocatedKey[] = |
+ "total-discardable-memory-allocated"; |
+ base::debug::SetCrashKeyValue(kTotalDiscardableMemoryAllocatedKey, |
base::Uint64ToString(new_bytes_allocated)); |
} |