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

Unified Diff: ui/app_list/search_result.h

Issue 1868363002: Replace scoped_ptr with std::unique_ptr in //ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scopedptrcc
Patch Set: scopedptrui: rebase-make_scoped_ptr 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
« no previous file with comments | « ui/app_list/search_provider.cc ('k') | ui/app_list/shower/app_list_shower_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/search_result.h
diff --git a/ui/app_list/search_result.h b/ui/app_list/search_result.h
index 870a39765c741e485e7dff8a36299294812b2902..a3b8fec732a2143da0d79a9fc34bfc215101ad31 100644
--- a/ui/app_list/search_result.h
+++ b/ui/app_list/search_result.h
@@ -154,7 +154,7 @@ class APP_LIST_EXPORT SearchResult {
// TODO(mukai): Remove this method and really simplify the ownership of
// SearchResult. Ideally, SearchResult will be copyable.
- virtual scoped_ptr<SearchResult> Duplicate() const = 0;
+ virtual std::unique_ptr<SearchResult> Duplicate() const = 0;
// Invokes a custom action on the result. It does nothing by default.
virtual void InvokeAction(int action_index, int event_flags);
« no previous file with comments | « ui/app_list/search_provider.cc ('k') | ui/app_list/shower/app_list_shower_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698