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

Unified Diff: chrome/browser/ui/app_list/search/arc_app_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/arc_app_result.cc
diff --git a/chrome/browser/ui/app_list/search/arc_app_result.cc b/chrome/browser/ui/app_list/search/arc_app_result.cc
index 5fc87f4436b0feef345b7e03189f1de18cee61ac..951689b32ac2ac95dfd10407ab1200471a448daf 100644
--- a/chrome/browser/ui/app_list/search/arc_app_result.cc
+++ b/chrome/browser/ui/app_list/search/arc_app_result.cc
@@ -55,8 +55,8 @@ void ArcAppResult::Open(int event_flags) {
controller()->DismissView();
}
-scoped_ptr<SearchResult> ArcAppResult::Duplicate() const {
- scoped_ptr<SearchResult> copy(
+std::unique_ptr<SearchResult> ArcAppResult::Duplicate() const {
+ std::unique_ptr<SearchResult> copy(
new ArcAppResult(profile(), app_id(), controller(),
display_type() == DISPLAY_RECOMMENDATION));
copy->set_title(title());
« no previous file with comments | « chrome/browser/ui/app_list/search/arc_app_result.h ('k') | chrome/browser/ui/app_list/search/common/json_response_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698