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

Unified Diff: content/renderer/media/rtc_peer_connection_handler.cc

Issue 875483002: Use StatsReport::Value::ToString instead of the value member variable direct. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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 | « content/renderer/media/peer_connection_tracker.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/rtc_peer_connection_handler.cc
diff --git a/content/renderer/media/rtc_peer_connection_handler.cc b/content/renderer/media/rtc_peer_connection_handler.cc
index da93384f6a889aea18abf7a71153f7c2f97882ab..e7586851f2d31b5b43c4b11f489fd4a1251d8e96 100644
--- a/content/renderer/media/rtc_peer_connection_handler.cc
+++ b/content/renderer/media/rtc_peer_connection_handler.cc
@@ -409,7 +409,7 @@ class StatsResponse : public webrtc::StatsObserver {
for (const auto& value : report.values) {
response->addStatistic(idx,
blink::WebString::fromUTF8(value->display_name()),
- blink::WebString::fromUTF8(value->value));
+ blink::WebString::fromUTF8(value->ToString()));
}
}
« no previous file with comments | « content/renderer/media/peer_connection_tracker.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698