Index: third_party/WebKit/Source/devtools/front_end/ui/TextPrompt.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/TextPrompt.js b/third_party/WebKit/Source/devtools/front_end/ui/TextPrompt.js |
index 8113627b4912b4cd035a5989f2c3b949b54080c4..862dd38dfdf23e10ec43faa71c7bce3fa29f79a7 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/ui/TextPrompt.js |
+++ b/third_party/WebKit/Source/devtools/front_end/ui/TextPrompt.js |
@@ -120,7 +120,6 @@ UI.TextPrompt = class extends Common.Object { |
this._element.addEventListener('mousewheel', this._boundOnMouseWheel, false); |
this._element.addEventListener('selectstart', this._boundClearAutocomplete, false); |
this._element.addEventListener('blur', this._boundClearAutocomplete, false); |
- this._element.ownerDocument.defaultView.addEventListener('resize', this._boundClearAutocomplete, false); |
this._suggestBox = new UI.SuggestBox(this, 20, true); |
@@ -209,7 +208,6 @@ UI.TextPrompt = class extends Common.Object { |
this._element.removeEventListener('input', this._boundOnInput, false); |
this._element.removeEventListener('selectstart', this._boundClearAutocomplete, false); |
this._element.removeEventListener('blur', this._boundClearAutocomplete, false); |
- this._element.ownerDocument.defaultView.removeEventListener('resize', this._boundClearAutocomplete, false); |
if (this._isEditing) |
this._stopEditing(); |
if (this._suggestBox) |