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

Unified Diff: net/http/http_network_transaction_unittest.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/http/http_network_transaction_unittest.cc
diff --git a/net/http/http_network_transaction_unittest.cc b/net/http/http_network_transaction_unittest.cc
index ccd153601a1935c9570eee1a0abcd9c76e69d7af..bc6b2aaa4c7a68f8a5797a87d74df1854e68962a 100644
--- a/net/http/http_network_transaction_unittest.cc
+++ b/net/http/http_network_transaction_unittest.cc
@@ -136,7 +136,7 @@ class TestNetworkStreamThrottler : public NetworkThrottleManager {
void UnthrottleAllRequests() {
std::set<TestThrottle*> outstanding_throttles_copy(outstanding_throttles_);
- for (auto& throttle : outstanding_throttles_copy) {
+ for (auto* throttle : outstanding_throttles_copy) {
if (throttle->IsBlocked())
throttle->Unthrottle();
}

Powered by Google App Engine
This is Rietveld 408576698