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

Unified Diff: chrome/browser/ui/search/new_tab_page_interceptor_service.cc

Issue 1550053002: Convert Pass()→std::move() in //chrome/browser/ui (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
« no previous file with comments | « chrome/browser/ui/search/instant_controller.cc ('k') | chrome/browser/ui/search/search_ipc_router.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/search/new_tab_page_interceptor_service.cc
diff --git a/chrome/browser/ui/search/new_tab_page_interceptor_service.cc b/chrome/browser/ui/search/new_tab_page_interceptor_service.cc
index de5964edd9e51012fe25dddd8944da939ada0819..776c78286bb0b00cdd667a5ba0f75a6917d8c20d 100644
--- a/chrome/browser/ui/search/new_tab_page_interceptor_service.cc
+++ b/chrome/browser/ui/search/new_tab_page_interceptor_service.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/ui/search/new_tab_page_interceptor_service.h"
+#include <utility>
+
#include "base/location.h"
#include "base/logging.h"
#include "base/macros.h"
@@ -120,5 +122,5 @@ NewTabPageInterceptorService::CreateInterceptor() {
scoped_ptr<NewTabPageInterceptor> interceptor(
new NewTabPageInterceptor(search::GetNewTabPageURL(profile_)));
interceptor_ = interceptor->GetWeakPtr();
- return interceptor.Pass();
+ return std::move(interceptor);
}
« no previous file with comments | « chrome/browser/ui/search/instant_controller.cc ('k') | chrome/browser/ui/search/search_ipc_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698