Index: third_party/WebKit/Source/devtools/front_end/ui/SoftContextMenu.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/SoftContextMenu.js b/third_party/WebKit/Source/devtools/front_end/ui/SoftContextMenu.js |
index c226fc11ec1de25ccecf0dfb8260a5f8c73ac749..5fdf28093433d966d78e47188d279017ee936659 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/ui/SoftContextMenu.js |
+++ b/third_party/WebKit/Source/devtools/front_end/ui/SoftContextMenu.js |
@@ -381,7 +381,7 @@ WebInspector.SoftContextMenu.prototype = { |
event.consume(true); |
} |
if (this._discardMenuOnResizeListener) { |
- this._document.defaultView.removeEventListener(this._discardMenuOnResizeListener); |
+ this._document.defaultView.removeEventListener("resize", this._discardMenuOnResizeListener, false); |
delete this._discardMenuOnResizeListener; |
} |
}, |