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

Unified Diff: extensions/browser/value_store/leveldb_value_store.cc

Issue 2973863002: Remove std::string histogram name from HistogramBase object.
Patch Set: rebased Created 3 years, 4 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 | « extensions/browser/value_store/lazy_leveldb.h ('k') | third_party/webrtc_overrides/init_webrtc.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/value_store/leveldb_value_store.cc
diff --git a/extensions/browser/value_store/leveldb_value_store.cc b/extensions/browser/value_store/leveldb_value_store.cc
index c0e133bfa9657cf9843e3d508b74ad84bcb0411c..78dc43bb4c0ffda32224b5bc1ff318e586615ef9 100644
--- a/extensions/browser/value_store/leveldb_value_store.cc
+++ b/extensions/browser/value_store/leveldb_value_store.cc
@@ -254,7 +254,7 @@ bool LeveldbValueStore::OnMemoryDump(
DCHECK(res);
auto* dump = pmd->CreateAllocatorDump(base::StringPrintf(
- "leveldb/value_store/%s/0x%" PRIXPTR, open_histogram_name().c_str(),
+ "leveldb/value_store/%s/0x%" PRIXPTR, open_histogram_name(),
reinterpret_cast<uintptr_t>(this)));
dump->AddScalar(base::trace_event::MemoryAllocatorDump::kNameSize,
base::trace_event::MemoryAllocatorDump::kUnitsBytes, size);
« no previous file with comments | « extensions/browser/value_store/lazy_leveldb.h ('k') | third_party/webrtc_overrides/init_webrtc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698