Index: Source/devtools/front_end/UIUtils.js |
diff --git a/Source/devtools/front_end/UIUtils.js b/Source/devtools/front_end/UIUtils.js |
index ee8bb7e48c675e3b42a55829c8f831d562c4e41b..4d4fa9a23e9f4d56ecd275e07467b014c2b5839e 100644 |
--- a/Source/devtools/front_end/UIUtils.js |
+++ b/Source/devtools/front_end/UIUtils.js |
@@ -820,15 +820,12 @@ WebInspector.invokeOnceAfterBatchUpdate = function(object, method) |
;(function() { |
-/** |
- * @this {Window} |
- */ |
function windowLoaded() |
{ |
window.addEventListener("focus", WebInspector._windowFocused, false); |
window.addEventListener("blur", WebInspector._windowBlurred, false); |
- document.addEventListener("focus", WebInspector._focusChanged.bind(this), true); |
- document.addEventListener("blur", WebInspector._documentBlurred.bind(this), true); |
+ document.addEventListener("focus", WebInspector._focusChanged, true); |
+ document.addEventListener("blur", WebInspector._documentBlurred, true); |
window.removeEventListener("DOMContentLoaded", windowLoaded, false); |
} |