diff options
author | nhiroki@google.com <nhiroki@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-25 00:10:51 +0000 |
---|---|---|
committer | nhiroki@google.com <nhiroki@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-25 00:10:51 +0000 |
commit | ed2e766d1bf0f34f1dbc2ebfeccc96e57e0fdd1e (patch) | |
tree | 54a379febcb62decb7b8e50cfb422254deab2828 /webkit/fileapi/file_system_file_stream_reader.cc | |
parent | a47c55de0f7160d1b3f5457dffd41ca96f8fa2f2 (diff) | |
download | chromium_src-ed2e766d1bf0f34f1dbc2ebfeccc96e57e0fdd1e.zip chromium_src-ed2e766d1bf0f34f1dbc2ebfeccc96e57e0fdd1e.tar.gz chromium_src-ed2e766d1bf0f34f1dbc2ebfeccc96e57e0fdd1e.tar.bz2 |
Factor out common error-code conversion code for PlatformFileErrorToNetError.
BUG=136494
Review URL: https://chromiumcodereview.appspot.com/10808043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148255 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/fileapi/file_system_file_stream_reader.cc')
-rw-r--r-- | webkit/fileapi/file_system_file_stream_reader.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/webkit/fileapi/file_system_file_stream_reader.cc b/webkit/fileapi/file_system_file_stream_reader.cc index 53df72f..f8e9afd 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; } |