Index: chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc |
diff --git a/chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc b/chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc |
index c182b29108b102d8af179907b8a838afebb4e901..a57fb744449257754a7e54059d39fd508e8dfab9 100644 |
--- a/chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc |
+++ b/chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc |
@@ -147,7 +147,7 @@ class NativeMessagingTest : public ::testing::Test, |
return base::FilePath(); |
std::string message_with_header = FormatMessage(message); |
- int bytes_written = file_util::WriteFile( |
+ int bytes_written = base::WriteFile( |
filename, message_with_header.data(), message_with_header.size()); |
if (bytes_written < 0 || |
(message_with_header.size() != static_cast<size_t>(bytes_written))) { |