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

Unified Diff: webkit/blob/local_file_reader.cc

Issue 10080001: Reland 132134 with memory fix - Use LocalFileReader in FileSystemURLRequestJob (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
Index: webkit/blob/local_file_reader.cc
diff --git a/webkit/blob/local_file_reader.cc b/webkit/blob/local_file_reader.cc
index 54493c111213cf2af49076b7d7c12cf5ef8e0292..e21e82db67f8bb107cb20dc64720b5ca0888f81d 100644
--- a/webkit/blob/local_file_reader.cc
+++ b/webkit/blob/local_file_reader.cc
@@ -70,7 +70,7 @@ void DidSeekFile(const LocalFileReader::OpenFileStreamCallback& callback,
if (new_offset < 0)
result = static_cast<int>(new_offset);
else if (new_offset != initial_offset)
- result = net::ERR_FAILED;
+ result = net::ERR_REQUEST_RANGE_NOT_SATISFIABLE;
callback.Run(result, stream_impl.Pass());
}

Powered by Google App Engine
This is Rietveld 408576698