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

Unified Diff: net/spdy/spdy_session_unittest.cc

Issue 2503993002: Change unique_ptr::reset() for std::move (Closed)
Patch Set: Change unique_ptr::reset() for std::move Created 4 years 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_network_transaction_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_session_unittest.cc
diff --git a/net/spdy/spdy_session_unittest.cc b/net/spdy/spdy_session_unittest.cc
index ba88cf95304ebd8c6bea4a4ec4a404f254b927f8..8519ab4f8af2191c3f0f685d58039ab589e7e73d 100644
--- a/net/spdy/spdy_session_unittest.cc
+++ b/net/spdy/spdy_session_unittest.cc
@@ -5077,7 +5077,7 @@ TEST_F(SpdySessionTest, TrustedSpdyProxy) {
proxy_delegate->set_trusted_spdy_proxy(
net::ProxyServer(net::ProxyServer::SCHEME_HTTPS,
HostPortPair(GURL(kDefaultUrl).host(), 443)));
- session_deps_.proxy_delegate.reset(proxy_delegate.release());
+ session_deps_.proxy_delegate = std::move(proxy_delegate);
AddSSLSocketData();
« no previous file with comments | « net/spdy/spdy_network_transaction_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698