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

Unified Diff: services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor.cc

Issue 1408793006: Convert "return local_var.Pass();" to "return local_var;". (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 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: services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor.cc
diff --git a/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor.cc b/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor.cc
index 18e2d2f41fa08699353711e37db19be4c965a36f..de0646d5be93edc6ecfec483ec7a9ff8c5dcd422 100644
--- a/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor.cc
+++ b/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor.cc
@@ -185,7 +185,7 @@ URLRequestPtr AuthenticatingURLLoaderInterceptor::BuildRequest(
request->cache_mode = cache_mode_;
request->headers = headers.Pass();
- return request.Pass();
+ return request;
}
void AuthenticatingURLLoaderInterceptor::StartRequest(

Powered by Google App Engine
This is Rietveld 408576698