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

Unified Diff: net/spdy/spdy_session_pool.cc

Issue 2691393002: Fix auto raw pointer deduction on linux (Closed)
Patch Set: update Created 3 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
Index: net/spdy/spdy_session_pool.cc
diff --git a/net/spdy/spdy_session_pool.cc b/net/spdy/spdy_session_pool.cc
index 7af02fc5a331da6ea53ad42275b2055fcb5527e1..3047ba5527f5a1cc569f7ec2cef3cfb10059114f 100644
--- a/net/spdy/spdy_session_pool.cc
+++ b/net/spdy/spdy_session_pool.cc
@@ -382,7 +382,7 @@ void SpdySessionPool::DumpMemoryStats(
size_t cert_count = 0;
size_t serialized_cert_size = 0;
size_t num_active_sessions = 0;
- for (const auto& session : sessions_) {
+ for (auto* session : sessions_) {
StreamSocket::SocketMemoryStats stats;
bool is_session_active = false;
total_size += session->DumpMemoryStats(&stats, &is_session_active);

Powered by Google App Engine
This is Rietveld 408576698