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

Unified Diff: chrome/browser/ui/app_list/search/suggestions/url_suggestion_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/suggestions/url_suggestion_result.cc
diff --git a/chrome/browser/ui/app_list/search/suggestions/url_suggestion_result.cc b/chrome/browser/ui/app_list/search/suggestions/url_suggestion_result.cc
index d7f862f707d1b72a68118bd2a2ef75ccde4f03c1..d7668c539cf7f3c9de319c185be7acc3a1709185 100644
--- a/chrome/browser/ui/app_list/search/suggestions/url_suggestion_result.cc
+++ b/chrome/browser/ui/app_list/search/suggestions/url_suggestion_result.cc
@@ -49,7 +49,7 @@ void URLSuggestionResult::Open(int event_flags) {
ui::DispositionFromEventFlags(event_flags));
}
-scoped_ptr<SearchResult> URLSuggestionResult::Duplicate() {
+scoped_ptr<SearchResult> URLSuggestionResult::Duplicate() const {
URLSuggestionResult* new_result = new URLSuggestionResult(
profile_, list_controller_, favicon_service_, suggestions_service_,
suggestion_);

Powered by Google App Engine
This is Rietveld 408576698