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

Unified Diff: chromecast/browser/url_request_context_factory.cc

Issue 2745053002: Replace unique_ptr.reset(other_unique_ptr.release()) with std::move() in chromecast/ (Closed)
Patch Set: Created 3 years, 9 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 | chromecast/media/cma/test/mock_frame_consumer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/url_request_context_factory.cc
diff --git a/chromecast/browser/url_request_context_factory.cc b/chromecast/browser/url_request_context_factory.cc
index b6def5f53a86f34d8c379211f4d75bc02d540d9f..f171b944b368cfd4607599ee2d15c0b58fd47c86 100644
--- a/chromecast/browser/url_request_context_factory.cc
+++ b/chromecast/browser/url_request_context_factory.cc
@@ -303,7 +303,7 @@ void URLRequestContextFactory::InitializeMainContextDependencies(
}
request_interceptors.clear();
- main_job_factory_.reset(top_job_factory.release());
+ main_job_factory_ = std::move(top_job_factory);
main_dependencies_initialized_ = true;
}
« no previous file with comments | « no previous file | chromecast/media/cma/test/mock_frame_consumer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698