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

Unified Diff: chrome/browser/ui/app_list/search/app_search_provider.cc

Issue 657333002: Use scoped_ptr::Pass instead of scoped_ptr::PassAs<T>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/app_search_provider.cc
diff --git a/chrome/browser/ui/app_list/search/app_search_provider.cc b/chrome/browser/ui/app_list/search/app_search_provider.cc
index b7924fd15a59699d82f305cf7ec7441a7af3e89d..a2e126861c10808d49c54659624213e38e379539 100644
--- a/chrome/browser/ui/app_list/search/app_search_provider.cc
+++ b/chrome/browser/ui/app_list/search/app_search_provider.cc
@@ -90,7 +90,7 @@ void AppSearchProvider::StartImpl(const base::Time& current_time,
result->UpdateFromMatch((*app_it)->indexed_name(), match);
}
- Add(result.PassAs<SearchResult>());
+ Add(result.Pass());
}
}

Powered by Google App Engine
This is Rietveld 408576698