Index: Source/devtools/front_end/ui/UIUtils.js |
diff --git a/Source/devtools/front_end/ui/UIUtils.js b/Source/devtools/front_end/ui/UIUtils.js |
index 9cd3db0da0672c15c2d057ab35f53d4b00c3e2bc..4d721b4d2904358422dc9dad6cfc1b04882634b0 100644 |
--- a/Source/devtools/front_end/ui/UIUtils.js |
+++ b/Source/devtools/front_end/ui/UIUtils.js |
@@ -1071,17 +1071,10 @@ WebInspector.LongClickController.prototype = { |
__proto__: WebInspector.Object.prototype |
} |
-;(function() { |
- |
-function windowLoaded() |
+WebInspector.initializeUIUtils = function() |
{ |
window.addEventListener("focus", WebInspector._windowFocused, false); |
window.addEventListener("blur", WebInspector._windowBlurred, false); |
document.addEventListener("focus", WebInspector._focusChanged, true); |
document.addEventListener("blur", WebInspector._documentBlurred, true); |
- window.removeEventListener("DOMContentLoaded", windowLoaded, false); |
} |
- |
-window.addEventListener("DOMContentLoaded", windowLoaded, false); |
- |
-})(); |