Index: base/metrics/persistent_histogram_allocator_unittest.cc |
diff --git a/base/metrics/persistent_histogram_allocator_unittest.cc b/base/metrics/persistent_histogram_allocator_unittest.cc |
index b6806622502d1fdc9aebac6183621e9da0efd8a0..6f9ed96481cace40703b884a5e06890e33385944 100644 |
--- a/base/metrics/persistent_histogram_allocator_unittest.cc |
+++ b/base/metrics/persistent_histogram_allocator_unittest.cc |
@@ -131,7 +131,7 @@ TEST_F(PersistentHistogramAllocatorTest, CreateWithFileTest) { |
const char temp_name[] = "CreateWithFileTest"; |
ScopedTempDir temp_dir; |
ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); |
- FilePath temp_file = temp_dir.path().AppendASCII(temp_name); |
+ FilePath temp_file = temp_dir.GetPath().AppendASCII(temp_name); |
const size_t temp_size = 64 << 10; // 64 KiB |
// Test creation of a new file. |