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

Unified Diff: apps/custom_launcher_page_contents.cc

Issue 1550693002: Global conversion of Pass()→std::move() on Linux (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 | « no previous file | apps/saved_files_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/custom_launcher_page_contents.cc
diff --git a/apps/custom_launcher_page_contents.cc b/apps/custom_launcher_page_contents.cc
index 8888993aac5c39e380dc2df0ecc7ff1d34ae93ab..70c9b0ffbeec465b56723b6c302df521b3318907 100644
--- a/apps/custom_launcher_page_contents.cc
+++ b/apps/custom_launcher_page_contents.cc
@@ -5,6 +5,7 @@
#include "apps/custom_launcher_page_contents.h"
#include <string>
+#include <utility>
#include "chrome/browser/chrome_notification_types.h"
#include "chrome/browser/extensions/chrome_extension_web_contents_observer.h"
@@ -22,8 +23,7 @@ namespace apps {
CustomLauncherPageContents::CustomLauncherPageContents(
scoped_ptr<extensions::AppDelegate> app_delegate,
const std::string& extension_id)
- : app_delegate_(app_delegate.Pass()), extension_id_(extension_id) {
-}
+ : app_delegate_(std::move(app_delegate)), extension_id_(extension_id) {}
CustomLauncherPageContents::~CustomLauncherPageContents() {
}
« no previous file with comments | « no previous file | apps/saved_files_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698