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

Unified Diff: chrome/browser/extensions/api/webstore_widget_private/app_installer.cc

Issue 1556783002: Convert Pass()→std::move() for CrOS extension code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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/extensions/api/webstore_widget_private/app_installer.cc
diff --git a/chrome/browser/extensions/api/webstore_widget_private/app_installer.cc b/chrome/browser/extensions/api/webstore_widget_private/app_installer.cc
index d96397c0068e575f6cbed6dbd51e782983a6a291..ea5e34ba261ba290268a11e0f67056bcedef05f3 100644
--- a/chrome/browser/extensions/api/webstore_widget_private/app_installer.cc
+++ b/chrome/browser/extensions/api/webstore_widget_private/app_installer.cc
@@ -67,7 +67,7 @@ scoped_ptr<ExtensionInstallPrompt::Prompt> AppInstaller::CreateInstallPrompt()
prompt->SetWebstoreData(localized_user_count(), show_user_count(),
average_rating(), rating_count());
- return prompt.Pass();
+ return prompt;
}
bool AppInstaller::ShouldShowPostInstallUI() const {

Powered by Google App Engine
This is Rietveld 408576698