Chromium Code Reviews| Index: Source/devtools/front_end/ui/Dialog.js |
| diff --git a/Source/devtools/front_end/ui/Dialog.js b/Source/devtools/front_end/ui/Dialog.js |
| index c53f0fd9d2cfdea759d3b745d836419dadee8fcf..d885dfcf43ea50a208367a41951e4cdc41e7c138 100644 |
| --- a/Source/devtools/front_end/ui/Dialog.js |
| +++ b/Source/devtools/front_end/ui/Dialog.js |
| @@ -140,11 +140,11 @@ WebInspector.Dialog.prototype = { |
| /** |
| * @constructor |
| * @extends {WebInspector.Object} |
| + * @param {!Element} element |
| */ |
| -WebInspector.DialogDelegate = function() |
| +WebInspector.DialogDelegate = function(element) |
|
dgozman
2015/04/22 10:16:54
Make it className instead of element, since they a
pfeldman
2015/04/22 12:13:12
I'll just create this div here and let clients add
|
| { |
| - /** @type {!Element} */ |
| - this.element; |
| + this.element = element; |
| } |
| WebInspector.DialogDelegate.prototype = { |