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

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

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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: third_party/WebKit/Source/devtools/front_end/ui_lazy/PieChart.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui_lazy/PieChart.js b/third_party/WebKit/Source/devtools/front_end/ui_lazy/PieChart.js
index ea9aefce9d9d44e12c3324ea906c29b1ec40cc50..79bed49c5489ee6e2110bd3321bad61fb8a10f2d 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui_lazy/PieChart.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui_lazy/PieChart.js
@@ -31,7 +31,7 @@
/**
* @unrestricted
*/
-WebInspector.PieChart = class {
+UI.PieChart = class {
/**
* @param {number} size
* @param {function(number):string=} formatter
@@ -39,7 +39,7 @@ WebInspector.PieChart = class {
*/
constructor(size, formatter, showTotal) {
this.element = createElement('div');
- this._shadowRoot = WebInspector.createShadowRootWithCoreStyles(this.element, 'ui_lazy/pieChart.css');
+ this._shadowRoot = UI.createShadowRootWithCoreStyles(this.element, 'ui_lazy/pieChart.css');
var root = this._shadowRoot.createChild('div', 'root');
var svg = this._createSVGChild(root, 'svg');
this._group = this._createSVGChild(svg, 'g');

Powered by Google App Engine
This is Rietveld 408576698