| OLD | NEW |
| 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * @constructor | 6 * @constructor |
| 7 * @extends {WebInspector.SidebarPane} | 7 * @extends {WebInspector.SidebarPane} |
| 8 * @param {string} title | 8 * @param {string} title |
| 9 * @param {!WebInspector.Widget} widget | 9 * @param {!WebInspector.Widget} widget |
| 10 */ | 10 */ |
| 11 WebInspector.ElementsSidebarViewWrapperPane = function(title, widget) | 11 WebInspector.ElementsSidebarViewWrapperPane = function(title, widget) |
| 12 { | 12 { |
| 13 WebInspector.SidebarPane.call(this, title); | 13 WebInspector.SidebarPane.call(this, title); |
| 14 widget.show(this.bodyElement); | 14 widget.show(this.element); |
| 15 } | 15 } |
| 16 | 16 |
| 17 WebInspector.ElementsSidebarViewWrapperPane.prototype = { | 17 WebInspector.ElementsSidebarViewWrapperPane.prototype = { |
| 18 __proto__: WebInspector.SidebarPane.prototype | 18 __proto__: WebInspector.SidebarPane.prototype |
| 19 } | 19 } |
| OLD | NEW |