Index: components/history/core/browser/history_database_unittest.cc |
diff --git a/components/history/core/browser/history_database_unittest.cc b/components/history/core/browser/history_database_unittest.cc |
index 3f90bf860b0a0f6cc80f48b9cc83131014ff5e7f..d2292786bee5d7717dd82ce35c871cc7f4494023 100644 |
--- a/components/history/core/browser/history_database_unittest.cc |
+++ b/components/history/core/browser/history_database_unittest.cc |
@@ -20,7 +20,7 @@ TEST(HistoryDatabaseTest, DropBookmarks) { |
base::FilePath db_file; |
ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); |
- db_file = temp_dir.path().AppendASCII("DropBookmarks.db"); |
+ db_file = temp_dir.GetPath().AppendASCII("DropBookmarks.db"); |
sql::Connection::Delete(db_file); |
// Copy db file over that contains starred URLs. |