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

Unified Diff: content/browser/renderer_host/redirect_to_file_resource_handler.cc

Issue 9349005: net: Rename FileStream::Open/Close with OpenSync/CloseSync. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win build Created 8 years, 10 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: content/browser/renderer_host/redirect_to_file_resource_handler.cc
diff --git a/content/browser/renderer_host/redirect_to_file_resource_handler.cc b/content/browser/renderer_host/redirect_to_file_resource_handler.cc
index 64e007b7d8b7cf23c307b61a46e45b1a03806074..8ebba69a259a904d9adbd1c44fc59e235b088735 100644
--- a/content/browser/renderer_host/redirect_to_file_resource_handler.cc
+++ b/content/browser/renderer_host/redirect_to_file_resource_handler.cc
@@ -141,7 +141,7 @@ void RedirectToFileResourceHandler::OnRequestClosed() {
// directly from a PlatformFile.
// Close() performs file IO. crbug.com/112474.
base::ThreadRestrictions::ScopedAllowIO allow_io;
- file_stream_->Close();
+ file_stream_->CloseSync();
file_stream_.reset();
}
deletable_file_ = NULL;

Powered by Google App Engine
This is Rietveld 408576698