| Index: chrome/browser/history/history_service_factory.cc
|
| diff --git a/chrome/browser/history/history_service_factory.cc b/chrome/browser/history/history_service_factory.cc
|
| index ae573881e9f6aa76fbba66440ad33f617f5f9c3e..95ec9336b299a9e8bd3eaaefbdb761df37d4478f 100644
|
| --- a/chrome/browser/history/history_service_factory.cc
|
| +++ b/chrome/browser/history/history_service_factory.cc
|
| @@ -79,9 +79,9 @@ KeyedService* HistoryServiceFactory::BuildServiceInstanceFor(
|
| content::BrowserContext* context) const {
|
| std::unique_ptr<history::HistoryService> history_service(
|
| new history::HistoryService(
|
| - base::WrapUnique(new ChromeHistoryClient(
|
| - BookmarkModelFactory::GetForBrowserContext(context))),
|
| - base::WrapUnique(new history::ContentVisitDelegate(context))));
|
| + base::MakeUnique<ChromeHistoryClient>(
|
| + BookmarkModelFactory::GetForBrowserContext(context)),
|
| + base::MakeUnique<history::ContentVisitDelegate>(context)));
|
| if (!history_service->Init(
|
| history::HistoryDatabaseParamsForPath(context->GetPath()))) {
|
| return nullptr;
|
|
|