Index: chrome/browser/history/chrome_history_backend_client.cc |
diff --git a/chrome/browser/history/chrome_history_backend_client.cc b/chrome/browser/history/chrome_history_backend_client.cc |
index 5630de205453dc9877773b359b44536cb7249940..8e7732c4716685acb059010d9145e64398eff9c8 100644 |
--- a/chrome/browser/history/chrome_history_backend_client.cc |
+++ b/chrome/browser/history/chrome_history_backend_client.cc |
@@ -4,6 +4,7 @@ |
#include "chrome/browser/history/chrome_history_backend_client.h" |
+#include "base/memory/ptr_util.h" |
#include "build/build_config.h" |
#include "chrome/common/channel_info.h" |
#include "components/bookmarks/browser/bookmark_model.h" |
@@ -87,7 +88,7 @@ void ChromeHistoryBackendClient::OnHistoryBackendInitialized( |
if (thumbnail_database) { |
history_backend->SetUserData( |
history::AndroidProviderBackend::GetUserDataKey(), |
- new history::AndroidProviderBackend( |
+ base::MakeUnique<history::AndroidProviderBackend>( |
history_dir.Append(kAndroidCacheFilename), history_database, |
thumbnail_database, this, history_backend)); |
} |