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

Unified Diff: content/browser/tab_contents/web_drag_source_mac.mm

Issue 9349005: net: Rename FileStream::Open/Close with OpenSync/CloseSync. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased 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
« no previous file with comments | « content/browser/renderer_host/redirect_to_file_resource_handler.cc ('k') | net/base/file_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/tab_contents/web_drag_source_mac.mm
diff --git a/content/browser/tab_contents/web_drag_source_mac.mm b/content/browser/tab_contents/web_drag_source_mac.mm
index ba84e6de5b9c22d61ae4745eaf03fbbf13415ad9..1ffd221cc9d0ed1b857022f41395c70d9aa32e40 100644
--- a/content/browser/tab_contents/web_drag_source_mac.mm
+++ b/content/browser/tab_contents/web_drag_source_mac.mm
@@ -81,7 +81,7 @@ void PromiseWriterHelper(const WebDropData& drop_data,
net::CompletionCallback());
if (file_stream)
- file_stream->Close();
+ file_stream->CloseSync();
}
} // namespace
« no previous file with comments | « content/browser/renderer_host/redirect_to_file_resource_handler.cc ('k') | net/base/file_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698