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

Unified Diff: chrome/browser/ui/app_list/app_list_service_mac.mm

Issue 1579863003: Convert Pass()→std::move() for Mac build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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: chrome/browser/ui/app_list/app_list_service_mac.mm
diff --git a/chrome/browser/ui/app_list/app_list_service_mac.mm b/chrome/browser/ui/app_list/app_list_service_mac.mm
index 699dcfd3b90e9845d59b875372e8f3e1f227549c..03a81b15c4c50f5654cb407553db5ef90312ed67 100644
--- a/chrome/browser/ui/app_list/app_list_service_mac.mm
+++ b/chrome/browser/ui/app_list/app_list_service_mac.mm
@@ -8,6 +8,8 @@
#import <Cocoa/Cocoa.h>
#include <stddef.h>
+#include <utility>
+
#include "base/bind.h"
#include "base/command_line.h"
#include "base/files/file_util.h"
@@ -151,7 +153,7 @@ void CreateAppListShim(const base::FilePath& profile_path) {
if (installed_version == 0)
shortcut_locations.in_quick_launch_bar = true;
- web_app::CreateNonAppShortcut(shortcut_locations, shortcut_info.Pass());
+ web_app::CreateNonAppShortcut(shortcut_locations, std::move(shortcut_info));
local_state->SetInteger(prefs::kAppLauncherShortcutVersion,
kShortcutVersion);
« no previous file with comments | « chrome/browser/safe_browsing/sandboxed_dmg_analyzer_mac.cc ('k') | chrome/browser/ui/cocoa/accelerators_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698