Index: webkit/browser/fileapi/file_system_file_stream_reader.cc |
diff --git a/webkit/browser/fileapi/file_system_file_stream_reader.cc b/webkit/browser/fileapi/file_system_file_stream_reader.cc |
index f5427b7620f9a00c7bd351f84f0384e22fee6ba7..56245657660b1a527b909fbc132be72b606361fe 100644 |
--- a/webkit/browser/fileapi/file_system_file_stream_reader.cc |
+++ b/webkit/browser/fileapi/file_system_file_stream_reader.cc |
@@ -117,16 +117,16 @@ int FileSystemFileStreamReader::CreateSnapshot( |
void FileSystemFileStreamReader::DidCreateSnapshot( |
const base::Closure& callback, |
const net::CompletionCallback& error_callback, |
- base::PlatformFileError file_error, |
- const base::PlatformFileInfo& file_info, |
+ base::File::Error file_error, |
+ const base::File::Info& file_info, |
const base::FilePath& platform_path, |
const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref) { |
DCHECK(has_pending_create_snapshot_); |
DCHECK(!local_file_reader_.get()); |
has_pending_create_snapshot_ = false; |
- if (file_error != base::PLATFORM_FILE_OK) { |
- error_callback.Run(net::PlatformFileErrorToNetError(file_error)); |
+ if (file_error != base::File::FILE_OK) { |
+ error_callback.Run(net::FileErrorToNetError(file_error)); |
return; |
} |