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

Unified Diff: net/log/net_log_util.cc

Issue 2837313002: Add UMA to track the number of live URLRequests. (Closed)
Patch Set: use mutable Created 3 years, 8 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 | « no previous file | net/url_request/url_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/log/net_log_util.cc
diff --git a/net/log/net_log_util.cc b/net/log/net_log_util.cc
index 2d1b2dcc9f70868a8463aa6cd081a5675e9a7fe6..85b546043c83bb470774f0730564c88eae2fe443 100644
--- a/net/log/net_log_util.cc
+++ b/net/log/net_log_util.cc
@@ -515,7 +515,7 @@ NET_EXPORT void CreateNetLogEntriesForActiveObjects(
DCHECK(context->CalledOnValidThread());
// Contexts should all be using the same NetLog.
DCHECK_EQ((*contexts.begin())->net_log(), context->net_log());
- for (auto* request : *context->url_requests()) {
+ for (auto* request : context->url_requests()) {
requests.push_back(request);
}
}
« no previous file with comments | « no previous file | net/url_request/url_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698