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

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

Issue 12790007: Fix File Copy Manager Wrapper to work in the strict mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | chrome/browser/resources/file_manager/js/file_copy_manager_wrapper.js » ('j') | 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 ac8b1329374bf0df15f8745336e8c3c9f78b2d7a..5afb1671576f557ab247885a6f35c0bd699466ef 100644
--- a/chrome/browser/resources/file_manager/js/file_copy_manager.js
+++ b/chrome/browser/resources/file_manager/js/file_copy_manager.js
@@ -305,8 +305,8 @@ FileCopyManager.prototype.sendEvent_ = function(eventName, eventArgs) {
var windows = getContentWindows();
for (var i = 0; i < windows.length; i++) {
var w = windows[i];
- if (w.fileCopyManagerWrapper)
- w.fileCopyManagerWrapper.onEvent(eventName, eventArgs);
+ if (w.FileCopyManagerWrapper)
+ w.FileCopyManagerWrapper.getInstance().onEvent(eventName, eventArgs);
}
};
« no previous file with comments | « no previous file | chrome/browser/resources/file_manager/js/file_copy_manager_wrapper.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698