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

Unified Diff: chrome/browser/chromeos/gdata/gdata_uploader.cc

Issue 10262015: Fixed stack overflow issues in GDataUploader::UploadFailed(). (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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/gdata/gdata_uploader.cc
diff --git a/chrome/browser/chromeos/gdata/gdata_uploader.cc b/chrome/browser/chromeos/gdata/gdata_uploader.cc
index 8ff25d66c201079dedcd752539e3ec4b9497fcec..c172f2e1f7331cf7353cf59ba9c222fbe5de3b86 100644
--- a/chrome/browser/chromeos/gdata/gdata_uploader.cc
+++ b/chrome/browser/chromeos/gdata/gdata_uploader.cc
@@ -368,8 +368,6 @@ void GDataUploader::UploadFailed(UploadFileInfo* upload_file_info) {
upload_file_info->completion_callback.Run(base::PLATFORM_FILE_ERROR_ABORT,
upload_file_info);
}
- file_system_->GetOperationRegistry()->CancelForFilePath(
- upload_file_info->gdata_path);
DeleteUpload(upload_file_info);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698