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

Unified Diff: chrome/browser/ui/app_list/search/people/people_result.h

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/people/people_result.h
diff --git a/chrome/browser/ui/app_list/search/people/people_result.h b/chrome/browser/ui/app_list/search/people/people_result.h
index 317d433c1e82847f9f0e3bc5f6b751b9ec4a9487..fb49ed509f90a3218053009dc8873466c41fb73e 100644
--- a/chrome/browser/ui/app_list/search/people/people_result.h
+++ b/chrome/browser/ui/app_list/search/people/people_result.h
@@ -23,13 +23,13 @@ class PeopleResult : public SearchResult {
public:
PeopleResult(Profile* profile,
AppListControllerDelegate* controller,
- scoped_ptr<Person> person);
+ std::unique_ptr<Person> person);
~PeopleResult() override;
// SearchResult overrides:
void Open(int event_flags) override;
void InvokeAction(int action_index, int event_flags) override;
- scoped_ptr<SearchResult> Duplicate() const override;
+ std::unique_ptr<SearchResult> Duplicate() const override;
private:
void OnIconLoaded();
@@ -46,7 +46,7 @@ class PeopleResult : public SearchResult {
Profile* profile_;
AppListControllerDelegate* controller_;
- scoped_ptr<Person> person_;
+ std::unique_ptr<Person> person_;
gfx::ImageSkia image_;

Powered by Google App Engine
This is Rietveld 408576698