Index: Source/devtools/front_end/ui_lazy/PieChart.js |
diff --git a/Source/devtools/front_end/ui_lazy/PieChart.js b/Source/devtools/front_end/ui_lazy/PieChart.js |
index 127a9089fe32fe85630dbb957868f09961cb2353..b2b7962ef4eb4919719c8940ae5e2f713347d657 100644 |
--- a/Source/devtools/front_end/ui_lazy/PieChart.js |
+++ b/Source/devtools/front_end/ui_lazy/PieChart.js |
@@ -39,7 +39,7 @@ WebInspector.PieChart = function(size, formatter, showTotal) |
var shadowSize = WebInspector.PieChart._ShadowSizePercent; |
this.element = createElement("div"); |
this._shadowRoot = this.element.createShadowRoot(); |
- this._shadowRoot.appendChild(WebInspector.View.createStyleElement("ui_lazy/pieChart.css")); |
+ this._shadowRoot.appendChild(WebInspector.Widget.createStyleElement("ui_lazy/pieChart.css")); |
var root = this._shadowRoot.createChild("div", "root"); |
var svg = this._createSVGChild(root, "svg"); |
svg.setAttribute("width", (100 * (1 + 2 * shadowSize)) + "%"); |