Index: components/omnibox/browser/shortcuts_backend_unittest.cc |
diff --git a/components/omnibox/browser/shortcuts_backend_unittest.cc b/components/omnibox/browser/shortcuts_backend_unittest.cc |
index bbeae7970206592654e627d0e3a2c560e80e1041..fad5ae7c80be550551544b9b2a401a23ae786c83 100644 |
--- a/components/omnibox/browser/shortcuts_backend_unittest.cc |
+++ b/components/omnibox/browser/shortcuts_backend_unittest.cc |
@@ -112,12 +112,13 @@ void ShortcutsBackendTest::SetSearchProvider() { |
void ShortcutsBackendTest::SetUp() { |
template_url_service_.reset(new TemplateURLService(nullptr, 0)); |
if (profile_dir_.CreateUniqueTempDir()) |
- history_service_ = history::CreateHistoryService(profile_dir_.path(), true); |
+ history_service_ = |
+ history::CreateHistoryService(profile_dir_.GetPath(), true); |
ASSERT_TRUE(history_service_); |
db_thread_.Start(); |
base::FilePath shortcuts_database_path = |
- profile_dir_.path().Append(kShortcutsDatabaseName); |
+ profile_dir_.GetPath().Append(kShortcutsDatabaseName); |
backend_ = new ShortcutsBackend( |
template_url_service_.get(), base::MakeUnique<SearchTermsData>(), |
history_service_.get(), db_thread_.task_runner(), shortcuts_database_path, |