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

Unified Diff: third_party/webrtc_overrides/init_webrtc.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/leveldb_value_store.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/webrtc_overrides/init_webrtc.cc
diff --git a/third_party/webrtc_overrides/init_webrtc.cc b/third_party/webrtc_overrides/init_webrtc.cc
index 41fd0f6cd0152572abb2199a0eaa22290ecf0249..e93469cbb80d94017c84e14cad97882f08f71e87 100644
--- a/third_party/webrtc_overrides/init_webrtc.cc
+++ b/third_party/webrtc_overrides/init_webrtc.cc
@@ -65,7 +65,7 @@ Histogram* HistogramFactoryGetEnumeration(
base::HistogramBase::kUmaTargetedHistogramFlag));
}
-const std::string& GetHistogramName(Histogram* histogram_pointer) {
+const char* GetHistogramName(Histogram* histogram_pointer) {
base::HistogramBase* ptr =
reinterpret_cast<base::HistogramBase*>(histogram_pointer);
return ptr->histogram_name();
« no previous file with comments | « extensions/browser/value_store/leveldb_value_store.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698