| Index: chrome/browser/search/hotword_service_unittest.cc
|
| diff --git a/chrome/browser/search/hotword_service_unittest.cc b/chrome/browser/search/hotword_service_unittest.cc
|
| index d4b20fa2a7a7980129830dda7d274087dd295667..e0eb877f234ceeabe3c8c17ffa8e7ea203d00d79 100644
|
| --- a/chrome/browser/search/hotword_service_unittest.cc
|
| +++ b/chrome/browser/search/hotword_service_unittest.cc
|
| @@ -118,8 +118,7 @@ class MockHotwordService : public HotwordService {
|
|
|
| std::unique_ptr<KeyedService> BuildMockHotwordService(
|
| content::BrowserContext* context) {
|
| - return base::WrapUnique(
|
| - new MockHotwordService(static_cast<Profile*>(context)));
|
| + return base::MakeUnique<MockHotwordService>(static_cast<Profile*>(context));
|
| }
|
|
|
| } // namespace
|
|
|