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

Unified Diff: chrome/browser/custom_handlers/protocol_handler_registry.cc

Issue 1551503002: Convert Pass()→std::move() in //chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: chrome/browser/custom_handlers/protocol_handler_registry.cc
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry.cc b/chrome/browser/custom_handlers/protocol_handler_registry.cc
index 8edaa909eebb85a0e858567ca93c081c95e5722c..1bce59dda7c2c5e8df28385a0fefaae1238cf010 100644
--- a/chrome/browser/custom_handlers/protocol_handler_registry.cc
+++ b/chrome/browser/custom_handlers/protocol_handler_registry.cc
@@ -175,7 +175,7 @@ ProtocolHandlerRegistry::JobInterceptorFactory::~JobInterceptorFactory() {
void ProtocolHandlerRegistry::JobInterceptorFactory::Chain(
scoped_ptr<net::URLRequestJobFactory> job_factory) {
- job_factory_ = job_factory.Pass();
+ job_factory_ = std::move(job_factory);
}
net::URLRequestJob*

Powered by Google App Engine
This is Rietveld 408576698