| Index: net/url_request/url_request_file_job.cc
|
| diff --git a/net/url_request/url_request_file_job.cc b/net/url_request/url_request_file_job.cc
|
| index 8f32750198fd4b1e15d8163c1618faf50e041ec8..fa6d6a2f862a42412d2c385c434d3b9c24e96680 100644
|
| --- a/net/url_request/url_request_file_job.cc
|
| +++ b/net/url_request/url_request_file_job.cc
|
| @@ -161,7 +161,7 @@ void URLRequestFileJob::Kill() {
|
| // URL requests should not block on the disk!
|
| // http://code.google.com/p/chromium/issues/detail?id=59849
|
| base::ThreadRestrictions::ScopedAllowIO allow_io;
|
| - stream_.Close();
|
| + stream_.CloseSync();
|
|
|
| if (async_resolver_) {
|
| async_resolver_->Cancel();
|
| @@ -313,7 +313,7 @@ void URLRequestFileJob::DidResolve(
|
| int flags = base::PLATFORM_FILE_OPEN |
|
| base::PLATFORM_FILE_READ |
|
| base::PLATFORM_FILE_ASYNC;
|
| - rv = stream_.Open(file_path_, flags);
|
| + rv = stream_.OpenSync(file_path_, flags);
|
| }
|
|
|
| if (rv != OK) {
|
|
|