Commit d19c922a authored by reveman's avatar reveman Committed by Commit bot

content: Fix trace category in HostDiscardableSharedMemoryManager.

BUG=
TBR=avi@chromium.org

Review URL: https://codereview.chromium.org/938163003

Cr-Commit-Position: refs/heads/master@{#317156}
parent 5530749d
...@@ -229,8 +229,8 @@ void HostDiscardableSharedMemoryManager::ReduceMemoryUsageUntilWithinLimit( ...@@ -229,8 +229,8 @@ void HostDiscardableSharedMemoryManager::ReduceMemoryUsageUntilWithinLimit(
void HostDiscardableSharedMemoryManager::BytesAllocatedChanged( void HostDiscardableSharedMemoryManager::BytesAllocatedChanged(
size_t new_bytes_allocated) const { size_t new_bytes_allocated) const {
TRACE_COUNTER_ID1( TRACE_COUNTER_ID1("renderer_host", "TotalDiscardableMemoryUsage", this,
"base", "TotalDiscardableMemoryUsage", this, new_bytes_allocated); new_bytes_allocated);
static const char kTotalDiscardableMemoryUsageKey[] = "total-dm-usage"; static const char kTotalDiscardableMemoryUsageKey[] = "total-dm-usage";
base::debug::SetCrashKeyValue(kTotalDiscardableMemoryUsageKey, base::debug::SetCrashKeyValue(kTotalDiscardableMemoryUsageKey,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment