Index: chrome/browser/extensions/api/media_galleries_private/media_galleries_watch_apitest.cc |
diff --git a/chrome/browser/extensions/api/media_galleries_private/media_galleries_watch_apitest.cc b/chrome/browser/extensions/api/media_galleries_private/media_galleries_watch_apitest.cc |
index 5a16da4f9b95853ad8e3d890a8482142b69a19b3..95648185654d1742bb51ebdeea5071dc47bc3976 100644 |
--- a/chrome/browser/extensions/api/media_galleries_private/media_galleries_watch_apitest.cc |
+++ b/chrome/browser/extensions/api/media_galleries_private/media_galleries_watch_apitest.cc |
@@ -106,8 +106,8 @@ class MediaGalleriesPrivateGalleryWatchApiTest : public ExtensionApiTest { |
base::FilePath gallery_file = |
gallery_dir.Append(FILE_PATH_LITERAL("test1.txt")); |
std::string content("new content"); |
- int write_size = file_util::WriteFile(gallery_file, content.c_str(), |
- content.length()); |
+ int write_size = base::WriteFile(gallery_file, content.c_str(), |
+ content.length()); |
return (write_size == static_cast<int>(content.length())); |
} |