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

Unified Diff: net/log/net_log_util.cc

Issue 1158653002: Returning scoped_ptr instead of raw pointer in SpdySessionPoolInfoToValue() in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added for GetInfoTovalue Created 5 years, 7 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
Index: net/log/net_log_util.cc
diff --git a/net/log/net_log_util.cc b/net/log/net_log_util.cc
index 6b78359c915ac0099024811e9301d80dc643d5f7..aa7012a46b788d5eb399bade8261ee175abe8561 100644
--- a/net/log/net_log_util.cc
+++ b/net/log/net_log_util.cc
@@ -412,8 +412,9 @@ NET_EXPORT scoped_ptr<base::DictionaryValue> GetNetInfo(
}
if (info_sources & NET_INFO_SPDY_SESSIONS) {
- net_info_dict->Set(NetInfoSourceToString(NET_INFO_SPDY_SESSIONS),
- http_network_session->SpdySessionPoolInfoToValue());
+ net_info_dict->Set(
+ NetInfoSourceToString(NET_INFO_SPDY_SESSIONS),
+ http_network_session->SpdySessionPoolInfoToValue().Pass());
eroman 2015/05/25 17:50:46 Same comment as on other changelist -- there is no
payal.pandey 2015/05/26 06:07:35 Acknowledged.
payal.pandey 2015/05/26 06:07:35 Done.
}
if (info_sources & NET_INFO_SPDY_STATUS) {

Powered by Google App Engine
This is Rietveld 408576698