| Index: net/log/net_log_util.cc
|
| diff --git a/net/log/net_log_util.cc b/net/log/net_log_util.cc
|
| index b9df667af18416f567e3994d3ccf10310f6eaed6..478fafc886719201fbd83c0ede0c8b72191b195f 100644
|
| --- a/net/log/net_log_util.cc
|
| +++ b/net/log/net_log_util.cc
|
| @@ -519,12 +519,12 @@ NET_EXPORT void CreateNetLogEntriesForActiveObjects(
|
| NetLog::ThreadSafeObserver* observer) {
|
| // Put together the list of all requests.
|
| std::vector<const URLRequest*> requests;
|
| - for (const auto& context : contexts) {
|
| + for (auto* context : contexts) {
|
| // May only be called on the context's thread.
|
| DCHECK(context->CalledOnValidThread());
|
| // Contexts should all be using the same NetLog.
|
| DCHECK_EQ((*contexts.begin())->net_log(), context->net_log());
|
| - for (const auto& request : *context->url_requests()) {
|
| + for (auto* request : *context->url_requests()) {
|
| requests.push_back(request);
|
| }
|
| }
|
| @@ -533,7 +533,7 @@ NET_EXPORT void CreateNetLogEntriesForActiveObjects(
|
| std::sort(requests.begin(), requests.end(), RequestCreatedBefore);
|
|
|
| // Create fake events.
|
| - for (const auto& request : requests) {
|
| + for (auto* request : requests) {
|
| NetLog::ParametersCallback callback =
|
| base::Bind(&GetRequestStateAsValue, base::Unretained(request));
|
|
|
|
|