| Index: ash/shell/app_list.cc
|
| diff --git a/ash/shell/app_list.cc b/ash/shell/app_list.cc
|
| index e7e79de016c129105100a3c09da90a7806f7a433..66a2982946f71163b760d93406f56b21dd470582 100644
|
| --- a/ash/shell/app_list.cc
|
| +++ b/ash/shell/app_list.cc
|
| @@ -15,6 +15,7 @@
|
| #include "base/files/file_path.h"
|
| #include "base/i18n/case_conversion.h"
|
| #include "base/i18n/string_search.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "base/memory/scoped_vector.h"
|
| #include "base/strings/string_number_conversions.h"
|
| #include "base/strings/string_util.h"
|
| @@ -268,7 +269,8 @@ class ExampleAppListViewDelegate : public app_list::AppListViewDelegate {
|
| base::UTF8ToUTF16(WindowTypeShelfItem::GetTitle(type));
|
| if (base::i18n::StringSearchIgnoringCaseAndAccents(query, title, NULL,
|
| NULL)) {
|
| - model_->results()->Add(new ExampleSearchResult(type, query));
|
| + model_->results()->Add(
|
| + base::MakeUnique<ExampleSearchResult>(type, query));
|
| }
|
| }
|
| }
|
|
|