Index: ui/app_list/search/history_data_store_unittest.cc |
diff --git a/ui/app_list/search/history_data_store_unittest.cc b/ui/app_list/search/history_data_store_unittest.cc |
index 69fb2a0e8a991f39ad6fad8f8b005932424e97a0..9b582d68bec46b07b6655102ac23c875cea3b2fe 100644 |
--- a/ui/app_list/search/history_data_store_unittest.cc |
+++ b/ui/app_list/search/history_data_store_unittest.cc |
@@ -53,7 +53,7 @@ class HistoryDataStoreTest : public testing::Test { |
} |
void OpenStore(const std::string& file_name) { |
- data_file_ = temp_dir_.path().AppendASCII(file_name); |
+ data_file_ = temp_dir_.GetPath().AppendASCII(file_name); |
store_ = new HistoryDataStore(scoped_refptr<DictionaryDataStore>( |
new DictionaryDataStore(data_file_, worker_pool_owner_.pool().get()))); |
Load(); |
@@ -70,8 +70,8 @@ class HistoryDataStoreTest : public testing::Test { |
} |
void WriteDataFile(const std::string& file_name, const std::string& data) { |
- base::WriteFile( |
- temp_dir_.path().AppendASCII(file_name), data.c_str(), data.size()); |
+ base::WriteFile(temp_dir_.GetPath().AppendASCII(file_name), data.c_str(), |
+ data.size()); |
} |
HistoryDataStore* store() { return store_.get(); } |