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

Unified Diff: chrome/browser/web_applications/web_app_linux.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/web_applications/web_app_linux.cc
diff --git a/chrome/browser/web_applications/web_app_linux.cc b/chrome/browser/web_applications/web_app_linux.cc
index a1429aeb7a5556ee7114b1adf6bf00552c6714b5..2a6e81363e39d0dbf153a0a1fd78ce2391d26c53 100644
--- a/chrome/browser/web_applications/web_app_linux.cc
+++ b/chrome/browser/web_applications/web_app_linux.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/web_applications/web_app.h"
+#include <utility>
+
#include "base/environment.h"
#include "base/logging.h"
#include "build/build_config.h"
@@ -62,7 +64,7 @@ void UpdatePlatformShortcuts(
if (creation_locations.applications_menu_location == APP_MENU_LOCATION_NONE)
creation_locations.applications_menu_location = APP_MENU_LOCATION_HIDDEN;
- CreatePlatformShortcuts(web_app_path, shortcut_info.Pass(),
+ CreatePlatformShortcuts(web_app_path, std::move(shortcut_info),
file_handlers_info, creation_locations,
SHORTCUT_CREATION_AUTOMATED);
}

Powered by Google App Engine
This is Rietveld 408576698