Index: Source/devtools/front_end/ui/treeoutline.js |
diff --git a/Source/devtools/front_end/ui/treeoutline.js b/Source/devtools/front_end/ui/treeoutline.js |
index 467d8b26afbb12b967c25b4887d77971eb001ee7..0eada851425a9fee0f4f076b0fce586f2a0d9617 100644 |
--- a/Source/devtools/front_end/ui/treeoutline.js |
+++ b/Source/devtools/front_end/ui/treeoutline.js |
@@ -279,7 +279,7 @@ function TreeOutlineInShadow(className) |
this.element = createElement("div"); |
this._shadowRoot = this.element.createShadowRoot(); |
- this._shadowRoot.appendChild(WebInspector.View.createStyleElement("ui/treeoutline.css")); |
+ this._shadowRoot.appendChild(WebInspector.Widget.createStyleElement("ui/treeoutline.css")); |
this._shadowRoot.appendChild(innerElement); |
WebInspector.installComponentRootStyles(innerElement); |
this._renderSelection = true; |
@@ -291,7 +291,7 @@ TreeOutlineInShadow.prototype = { |
*/ |
registerRequiredCSS: function(cssFile) |
{ |
- this._shadowRoot.appendChild(WebInspector.View.createStyleElement(cssFile)); |
+ this._shadowRoot.appendChild(WebInspector.Widget.createStyleElement(cssFile)); |
}, |
__proto__: TreeOutline.prototype |