Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(735)

Unified Diff: components/prefs/json_pref_store_unittest.cc

Issue 2379543002: installer and some misc files: Change ScopedTempDir::path() to GetPath() (Closed)
Patch Set: Fix compilation failure Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/prefs/json_pref_store_unittest.cc
diff --git a/components/prefs/json_pref_store_unittest.cc b/components/prefs/json_pref_store_unittest.cc
index cf93e7ef3352a137cf1bf4f5a5e312990036bae7..ace552de5fe4b1ee241ee34f3b14fe24d3c31e8e 100644
--- a/components/prefs/json_pref_store_unittest.cc
+++ b/components/prefs/json_pref_store_unittest.cc
@@ -1047,7 +1047,7 @@ class JsonPrefStoreCallbackTest : public JsonPrefStoreTest {
protected:
void SetUp() override {
JsonPrefStoreTest::SetUp();
- test_file_ = temp_dir_.path().AppendASCII("test.json");
+ test_file_ = temp_dir_.GetPath().AppendASCII("test.json");
}
scoped_refptr<JsonPrefStore> CreatePrefStore() {
@@ -1176,4 +1176,4 @@ TEST_F(JsonPrefStoreCallbackTest, TestPostWriteCallbackDuringProfileDeath) {
write_callback_observer_.GetAndResetObservationState());
}
-} // namespace base
+} // namespace base

Powered by Google App Engine
This is Rietveld 408576698