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

Unified Diff: chrome/browser/ui/app_list/search/webstore/webstore_result.cc

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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/search/webstore/webstore_result.cc
diff --git a/chrome/browser/ui/app_list/search/webstore/webstore_result.cc b/chrome/browser/ui/app_list/search/webstore/webstore_result.cc
index 986e90cdf5fc9db5ba6a22c2c5791e7b3914505e..2f0dfe8e5142023ce9bef644f862769cc8e68159 100644
--- a/chrome/browser/ui/app_list/search/webstore/webstore_result.cc
+++ b/chrome/browser/ui/app_list/search/webstore/webstore_result.cc
@@ -96,8 +96,8 @@ void WebstoreResult::InvokeAction(int action_index, int event_flags) {
StartInstall();
}
-scoped_ptr<SearchResult> WebstoreResult::Duplicate() const {
- scoped_ptr<SearchResult> copy(new WebstoreResult(
+std::unique_ptr<SearchResult> WebstoreResult::Duplicate() const {
+ std::unique_ptr<SearchResult> copy(new WebstoreResult(
profile_, app_id_, icon_url_, is_paid_, item_type_, controller_));
copy->set_title(title());
copy->set_title_tags(title_tags());
« no previous file with comments | « chrome/browser/ui/app_list/search/webstore/webstore_result.h ('k') | chrome/browser/ui/app_list/speech_auth_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698