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

Unified Diff: Source/devtools/front_end/main/Main.js

Issue 671463002: DevTools: make flame chart a web component. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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/main/Main.js
diff --git a/Source/devtools/front_end/main/Main.js b/Source/devtools/front_end/main/Main.js
index bdde9c3330348704fa286b63a05fe7641c2f759a..2742d91222cb5617833dfb4f11ee418cb09034d5 100644
--- a/Source/devtools/front_end/main/Main.js
+++ b/Source/devtools/front_end/main/Main.js
@@ -183,7 +183,7 @@ WebInspector.Main.prototype = {
{
console.timeStamp("Main._createApp");
- WebInspector.installPortStyles();
+ WebInspector.installComponentRootStyles(/** @type {!Element} */ (document.body));
if (Runtime.queryParam("toolbarColor") && Runtime.queryParam("textColor"))
WebInspector.setToolbarColors(Runtime.queryParam("toolbarColor"), Runtime.queryParam("textColor"));
InspectorFrontendHost.events.addEventListener(InspectorFrontendHostAPI.Events.SetToolbarColors, updateToolbarColors);

Powered by Google App Engine
This is Rietveld 408576698