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

Unified Diff: third_party/WebKit/Source/devtools/front_end/elements/PlatformFontsWidget.js

Issue 1809773002: DevTools: split platformFontsWidget.css out of elementsPanel.css (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: third_party/WebKit/Source/devtools/front_end/elements/PlatformFontsWidget.js
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/PlatformFontsWidget.js b/third_party/WebKit/Source/devtools/front_end/elements/PlatformFontsWidget.js
index 37134a3043bfbcd7d45770b657d0ecb7a9336009..2e4ca44bf1f64485ba2c25fdf8e0df2d054c7c3d 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/PlatformFontsWidget.js
+++ b/third_party/WebKit/Source/devtools/front_end/elements/PlatformFontsWidget.js
@@ -45,6 +45,7 @@ WebInspector.PlatformFontsWidget = function(sharedModel)
this.element.appendChild(this._sectionTitle);
this._sectionTitle.textContent = WebInspector.UIString("Rendered Fonts");
this._fontStatsSection = this.element.createChild("div", "stats-section");
+ this.registerRequiredCSS("elements/platformFontsWidget.css");
dgozman 2016/03/16 18:59:07 nit: usually do that in a second line of construct
lushnikov 2016/03/16 20:18:19 Done.
}
/**

Powered by Google App Engine
This is Rietveld 408576698