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

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

Issue 898273002: app_list::SearchResult: Duplicate() is const. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix. Created 5 years, 10 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.cc
diff --git a/chrome/browser/ui/app_list/search/people/people_result.cc b/chrome/browser/ui/app_list/search/people/people_result.cc
index 6735cfe91447e4324557e6f0553853afc813a072..667abfb70f39d5764af1c21d1e921b9af5ad835f 100644
--- a/chrome/browser/ui/app_list/search/people/people_result.cc
+++ b/chrome/browser/ui/app_list/search/people/people_result.cc
@@ -117,7 +117,7 @@ void PeopleResult::InvokeAction(int action_index, int event_flags) {
}
}
-scoped_ptr<SearchResult> PeopleResult::Duplicate() {
+scoped_ptr<SearchResult> PeopleResult::Duplicate() const {
return scoped_ptr<SearchResult>(
new PeopleResult(profile_, controller_, person_->Duplicate().Pass()));
}
« no previous file with comments | « chrome/browser/ui/app_list/search/people/people_result.h ('k') | chrome/browser/ui/app_list/search/search_webstore_result.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698