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

Unified Diff: chrome/browser/ui/app_list/launcher_page_event_dispatcher.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/app_list/fast_show_pickler.cc ('k') | chrome/browser/ui/app_list/search/app_result.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/launcher_page_event_dispatcher.cc
diff --git a/chrome/browser/ui/app_list/launcher_page_event_dispatcher.cc b/chrome/browser/ui/app_list/launcher_page_event_dispatcher.cc
index 2e958fb17209cad65d884dadffdc6eb44fe27ab0..6c5a1a53916870bb21fe29da35e15446dbc3321c 100644
--- a/chrome/browser/ui/app_list/launcher_page_event_dispatcher.cc
+++ b/chrome/browser/ui/app_list/launcher_page_event_dispatcher.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/ui/app_list/launcher_page_event_dispatcher.h"
+#include <utility>
+
#include "base/values.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/extensions/api/launcher_page.h"
@@ -39,7 +41,7 @@ void LauncherPageEventDispatcher::PopSubpage() {
void LauncherPageEventDispatcher::DispatchEvent(
scoped_ptr<extensions::Event> event) {
extensions::EventRouter::Get(profile_)
- ->DispatchEventToExtension(extension_id_, event.Pass());
+ ->DispatchEventToExtension(extension_id_, std::move(event));
}
} // namespace app_list
« no previous file with comments | « chrome/browser/ui/app_list/fast_show_pickler.cc ('k') | chrome/browser/ui/app_list/search/app_result.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698