Index: components/metrics/serialization/serialization_utils_unittest.cc |
diff --git a/components/metrics/serialization/serialization_utils_unittest.cc b/components/metrics/serialization/serialization_utils_unittest.cc |
index f311016667095d406cfc7bb2baf8c44a278627c1..1cf3b0f23fc1f77c0ea6b94a4dcee96a5bdd53ee 100644 |
--- a/components/metrics/serialization/serialization_utils_unittest.cc |
+++ b/components/metrics/serialization/serialization_utils_unittest.cc |
@@ -22,7 +22,7 @@ class SerializationUtilsTest : public testing::Test { |
SerializationUtilsTest() { |
bool success = temporary_dir.CreateUniqueTempDir(); |
if (success) { |
- base::FilePath dir_path = temporary_dir.path(); |
+ base::FilePath dir_path = temporary_dir.GetPath(); |
filename = dir_path.value() + "chromeossampletest"; |
filepath = base::FilePath(filename); |
} |