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

Unified Diff: content/common/host_discardable_shared_memory_manager.cc

Issue 938163003: content: Fix trace category in HostDiscardableSharedMemoryManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6f2dead1e9415a8a4263087ece3c722bec82e31d..c428bc5fe3473b7204ef87f8846f2aa45ac42c3c 100644
--- a/content/common/host_discardable_shared_memory_manager.cc
+++ b/content/common/host_discardable_shared_memory_manager.cc
@@ -229,8 +229,8 @@ void HostDiscardableSharedMemoryManager::ReduceMemoryUsageUntilWithinLimit(
void HostDiscardableSharedMemoryManager::BytesAllocatedChanged(
size_t new_bytes_allocated) const {
- TRACE_COUNTER_ID1(
- "base", "TotalDiscardableMemoryUsage", this, new_bytes_allocated);
+ TRACE_COUNTER_ID1("renderer_host", "TotalDiscardableMemoryUsage", this,
+ new_bytes_allocated);
static const char kTotalDiscardableMemoryUsageKey[] = "total-dm-usage";
base::debug::SetCrashKeyValue(kTotalDiscardableMemoryUsageKey,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698