Index: chrome/browser/chromeos/gdata/gdata_protocol_handler.cc |
diff --git a/chrome/browser/chromeos/gdata/gdata_protocol_handler.cc b/chrome/browser/chromeos/gdata/gdata_protocol_handler.cc |
index 34432cd827d7f969000da0d436a43f9ce66ac0e0..4f157997cc8acb97a166d7660bc5371b585202a7 100644 |
--- a/chrome/browser/chromeos/gdata/gdata_protocol_handler.cc |
+++ b/chrome/browser/chromeos/gdata/gdata_protocol_handler.cc |
@@ -97,7 +97,7 @@ void CancelGDataDownloadOnUIThread(const FilePath& gdata_file_path) { |
GDataFileSystem* file_system = NULL; |
GetFileSystemOnUIThread(&file_system); |
if (file_system) |
- file_system->CancelOperation(gdata_file_path); |
+ file_system->GetOperationRegistry()->CancelForFilePath(gdata_file_path); |
} |
// Class delegate to find file by resource id and extract relevant file info. |