Index: chrome/browser/extensions/test_extension_dir.cc |
diff --git a/chrome/browser/extensions/test_extension_dir.cc b/chrome/browser/extensions/test_extension_dir.cc |
index a99e5bedc8130b6441db93b54927b33db1aeaa8d..8da0667163f0ba2eb13f6f9d58dc82ad5b0a266a 100644 |
--- a/chrome/browser/extensions/test_extension_dir.cc |
+++ b/chrome/browser/extensions/test_extension_dir.cc |
@@ -32,7 +32,7 @@ void TestExtensionDir::WriteFile(const base::FilePath::StringType& filename, |
base::StringPiece contents) { |
EXPECT_EQ( |
base::checked_cast<int>(contents.size()), |
- file_util::WriteFile( |
+ base::WriteFile( |
dir_.path().Append(filename), contents.data(), contents.size())); |
} |