Index: components/history/core/browser/history_querying_unittest.cc |
diff --git a/components/history/core/browser/history_querying_unittest.cc b/components/history/core/browser/history_querying_unittest.cc |
index b192f1979758270c69e8e0d95e36a7c258f2bf81..2e8fbb3c431f08f249b8ec16224805d560bb51b1 100644 |
--- a/components/history/core/browser/history_querying_unittest.cc |
+++ b/components/history/core/browser/history_querying_unittest.cc |
@@ -162,7 +162,7 @@ class HistoryQueryTest : public testing::Test { |
private: |
void SetUp() override { |
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); |
- history_dir_ = temp_dir_.path().AppendASCII("HistoryTest"); |
+ history_dir_ = temp_dir_.GetPath().AppendASCII("HistoryTest"); |
ASSERT_TRUE(base::CreateDirectory(history_dir_)); |
history_.reset(new HistoryService); |