Index: google_apis/drive/test_util.cc |
diff --git a/google_apis/drive/test_util.cc b/google_apis/drive/test_util.cc |
index 5aaac8cc2674e22f92e392a92deb4610f2967f9b..e77d1cf69e800b2cf94c5d95b23af9fb4b898da8 100644 |
--- a/google_apis/drive/test_util.cc |
+++ b/google_apis/drive/test_util.cc |
@@ -57,7 +57,7 @@ void RunAndQuit(base::RunLoop* run_loop, const base::Closure& closure) { |
bool WriteStringToFile(const base::FilePath& file_path, |
const std::string& content) { |
- int result = file_util::WriteFile( |
+ int result = base::WriteFile( |
file_path, content.data(), static_cast<int>(content.size())); |
return content.size() == static_cast<size_t>(result); |
} |