Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1257)

Unified Diff: Source/devtools/front_end/ui_lazy/PieChart.js

Issue 1113813002: [DevTools] Rename View to Widget. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)) + "%");
« no previous file with comments | « Source/devtools/front_end/ui_lazy/OverviewGrid.js ('k') | Source/devtools/front_end/ui_lazy/TimelineGrid.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698