Index: chrome/browser/chromeos/drive/local_file_reader.cc |
diff --git a/chrome/browser/chromeos/drive/local_file_reader.cc b/chrome/browser/chromeos/drive/local_file_reader.cc |
index 5b9b016301ece7f591bc52f367194fbf1e8ba4b9..f7cf425a3cfcbeaf7c4ea7079a7b8cc419b3aec7 100644 |
--- a/chrome/browser/chromeos/drive/local_file_reader.cc |
+++ b/chrome/browser/chromeos/drive/local_file_reader.cc |
@@ -41,7 +41,7 @@ int OpenAndSeekOnBlockingPool(const base::FilePath& file_path, |
base::CreatePlatformFile(file_path, open_flags, NULL, &error); |
if (file == base::kInvalidPlatformFileValue) { |
DCHECK_NE(base::PLATFORM_FILE_OK, error); |
- return net::PlatformFileErrorToNetError(error); |
+ return net::FileErrorToNetError(static_cast<base::File::Error>(error)); |
} |
// If succeeded, seek to the |offset| from begin. |