Chromium Code Reviews| Index: ui/app_list/search_controller.cc |
| diff --git a/ui/app_list/search_controller.cc b/ui/app_list/search_controller.cc |
| index d0ee2ab36fe294e132c97f097dd5ff55cdbc0d41..453efd93cfaa0aff3ce52242a91eaf2ab04eb981 100644 |
| --- a/ui/app_list/search_controller.cc |
| +++ b/ui/app_list/search_controller.cc |
| @@ -122,7 +122,7 @@ void SearchController::AddProvider(size_t group_id, |
| &SearchController::OnResultsChanged, |
| base::Unretained(this))); |
| mixer_->AddProviderToGroup(group_id, provider.get()); |
| - providers_.push_back(provider.release()); // Takes ownership. |
| + providers_.push_back(provider.Pass()); // Takes ownership. |
|
sadrul
2015/05/21 14:44:53
Remove the comment at the end. The new code is fai
d.samantaray
2015/05/22 03:37:02
Done.
|
| } |
| void SearchController::OnResultsChanged() { |