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..19c7eb44c4e7451c949ed396976bc2633554088e 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/elements/PlatformFontsWidget.js |
+++ b/third_party/WebKit/Source/devtools/front_end/elements/PlatformFontsWidget.js |
@@ -35,16 +35,16 @@ |
*/ |
WebInspector.PlatformFontsWidget = function(sharedModel) |
{ |
- WebInspector.ThrottledWidget.call(this); |
- this.element.classList.add("platform-fonts"); |
+ WebInspector.ThrottledWidget.call(this, true); |
+ this.registerRequiredCSS("elements/platformFontsWidget.css"); |
this._sharedModel = sharedModel; |
this._sharedModel.addEventListener(WebInspector.SharedSidebarModel.Events.ComputedStyleChanged, this.update, this); |
- this._sectionTitle = createElementWithClass("div", "sidebar-separator"); |
- this.element.appendChild(this._sectionTitle); |
+ this._sectionTitle = createElementWithClass("div", "title"); |
+ this.contentElement.appendChild(this._sectionTitle); |
this._sectionTitle.textContent = WebInspector.UIString("Rendered Fonts"); |
- this._fontStatsSection = this.element.createChild("div", "stats-section"); |
+ this._fontStatsSection = this.contentElement.createChild("div", "stats-section"); |
} |
/** |