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

Unified Diff: net/spdy/spdy_session_pool.cc

Issue 2691393002: Fix auto raw pointer deduction on linux (Closed)
Patch Set: rebase 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
« no previous file with comments | « net/spdy/spdy_header_block.cc ('k') | net/tools/quic/end_to_end_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_session_pool.cc
diff --git a/net/spdy/spdy_session_pool.cc b/net/spdy/spdy_session_pool.cc
index b014e51657538121c30bd341cad51b9016f99f4b..1b469f488b9e03ef2f47b383d128575c2f509683 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);
« no previous file with comments | « net/spdy/spdy_header_block.cc ('k') | net/tools/quic/end_to_end_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698