Index: Source/devtools/front_end/sources/FilteredItemSelectionDialog.js |
diff --git a/Source/devtools/front_end/sources/FilteredItemSelectionDialog.js b/Source/devtools/front_end/sources/FilteredItemSelectionDialog.js |
index a8ec067b30378b1e7a7a6b884047faa8e61f8d7d..582a243c5bfaa1d7dafca6bb7cc75dc805f0fdf0 100644 |
--- a/Source/devtools/front_end/sources/FilteredItemSelectionDialog.js |
+++ b/Source/devtools/front_end/sources/FilteredItemSelectionDialog.js |
@@ -36,9 +36,8 @@ |
*/ |
WebInspector.FilteredItemSelectionDialog = function(delegate) |
{ |
- WebInspector.DialogDelegate.call(this); |
+ WebInspector.DialogDelegate.call(this, createElement("div")); |
- this.element = createElement("div"); |
this.element.className = "filtered-item-list-dialog"; |
this.element.addEventListener("keydown", this._onKeyDown.bind(this), false); |
this.element.appendChild(WebInspector.View.createStyleElement("sources/filteredItemSelectionDialog.css")); |