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

Unified Diff: Source/devtools/front_end/ui/FlameChart.js

Issue 731093002: DevTools: Use View.registerRequiredCSS() in View-based web components (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « Source/devtools/front_end/elements/Spectrum.js ('k') | Source/devtools/front_end/ui/View.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/ui/FlameChart.js
diff --git a/Source/devtools/front_end/ui/FlameChart.js b/Source/devtools/front_end/ui/FlameChart.js
index 8c539eeb72945028ec98b1a806ce756b5530ba96..f3c3361cee9d9c7b360b18694efda71e3a9ec55f 100644
--- a/Source/devtools/front_end/ui/FlameChart.js
+++ b/Source/devtools/front_end/ui/FlameChart.js
@@ -57,7 +57,7 @@ WebInspector.FlameChartDelegate.prototype = {
WebInspector.FlameChart = function(dataProvider, flameChartDelegate, isTopDown)
{
WebInspector.HBox.call(this, true);
- this.contentElement.appendChild(WebInspector.View.createStyleElement("ui/flameChart.css"));
+ this.registerRequiredCSS("ui/flameChart.css");
this.contentElement.classList.add("flame-chart-main-pane");
this._flameChartDelegate = flameChartDelegate;
this._isTopDown = isTopDown;
« no previous file with comments | « Source/devtools/front_end/elements/Spectrum.js ('k') | Source/devtools/front_end/ui/View.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698