Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Unified Diff: webkit/fileapi/file_system_file_stream_reader.cc

Issue 10808043: Factor out common error-code conversion code for PlatformFileErrorToNetError. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added NET_EXPORT symbol. Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/chromeos/fileapi/remote_file_stream_writer.cc ('k') | webkit/fileapi/sandbox_file_stream_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_file_stream_reader.cc
diff --git a/webkit/fileapi/file_system_file_stream_reader.cc b/webkit/fileapi/file_system_file_stream_reader.cc
index 53df72feb8334feaf2acc5eb0720f7ccc2e07849..f8e9afd41badc6ac4adbd4c37b2a916341361e0f 100644
--- a/webkit/fileapi/file_system_file_stream_reader.cc
+++ b/webkit/fileapi/file_system_file_stream_reader.cc
@@ -79,8 +79,7 @@ void FileSystemFileStreamReader::DidCreateSnapshot(
has_pending_create_snapshot_ = false;
if (file_error != base::PLATFORM_FILE_OK) {
- callback.Run(
- LocalFileStreamReader::PlatformFileErrorToNetError(file_error));
+ callback.Run(net::PlatformFileErrorToNetError(file_error));
return;
}
« no previous file with comments | « webkit/chromeos/fileapi/remote_file_stream_writer.cc ('k') | webkit/fileapi/sandbox_file_stream_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698