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

Unified Diff: chrome/browser/resources/file_manager/js/file_copy_manager.js

Issue 10826241: File manager: use pre-bound "self" variable instead of "this". (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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/resources/file_manager/js/file_copy_manager.js
diff --git a/chrome/browser/resources/file_manager/js/file_copy_manager.js b/chrome/browser/resources/file_manager/js/file_copy_manager.js
index 8901a22381f01ab0a3f9a7cb4edc71c8d805c088..4f52834febbde1aa15ffda15bda19c6b27861a4e 100644
--- a/chrome/browser/resources/file_manager/js/file_copy_manager.js
+++ b/chrome/browser/resources/file_manager/js/file_copy_manager.js
@@ -680,7 +680,7 @@ FileCopyManager.prototype.serviceNextTaskEntry_ = function(
}
function onError(reason, data) {
- this.log_('serviceNextTaskEntry error: ' + reason + ':', data);
+ self.log_('serviceNextTaskEntry error: ' + reason + ':', data);
errorCallback(new FileCopyManager.Error(reason, data));
}
« 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