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

Unified Diff: webkit/fileapi/file_system_url_request_job.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: webkit/fileapi/file_system_url_request_job.cc
diff --git a/webkit/fileapi/file_system_url_request_job.cc b/webkit/fileapi/file_system_url_request_job.cc
index 342edae2b5632255fb5b9e5a5db082e2998ab57a..ca841df4313555677a92f6bb493f0ba858f61d3e 100644
--- a/webkit/fileapi/file_system_url_request_job.cc
+++ b/webkit/fileapi/file_system_url_request_job.cc
@@ -123,7 +123,7 @@ FileSystemURLRequestJob::~FileSystemURLRequestJob() {
// Since we use the two-arg constructor of FileStream, we need to call Close()
// manually: ~FileStream won't call it for us.
if (stream_ != NULL)
- stream_->Close();
+ stream_->CloseSync();
}
void FileSystemURLRequestJob::Start() {
@@ -135,7 +135,7 @@ void FileSystemURLRequestJob::Start() {
void FileSystemURLRequestJob::Kill() {
if (stream_ != NULL) {
- stream_->Close();
+ stream_->CloseSync();
stream_.reset(NULL);
}
URLRequestJob::Kill();

Powered by Google App Engine
This is Rietveld 408576698