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

Unified Diff: ui/file_manager/file_manager/background/js/drive_sync_handler.js

Issue 657253004: Fix suspicious code detected by closure compiler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reflect review comments. Created 6 years, 2 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: ui/file_manager/file_manager/background/js/drive_sync_handler.js
diff --git a/ui/file_manager/file_manager/background/js/drive_sync_handler.js b/ui/file_manager/file_manager/background/js/drive_sync_handler.js
index 55a277d28375ce9917831d1b46a88e5ece245cf1..505f926e533570cf48bd34a7dd36435c52497e27 100644
--- a/ui/file_manager/file_manager/background/js/drive_sync_handler.js
+++ b/ui/file_manager/file_manager/background/js/drive_sync_handler.js
@@ -154,7 +154,7 @@ DriveSyncHandler.prototype.removeItem_ = function(status) {
*/
DriveSyncHandler.prototype.requestCancel_ = function(entry) {
// Cancel all jobs.
- chrome.fileManagerPrivate.cancelFileTransfers(function() {});
+ chrome.fileManagerPrivate.cancelFileTransfers();
};
/**

Powered by Google App Engine
This is Rietveld 408576698