Index: Source/devtools/front_end/elements/PlatformFontsSidebarPane.js |
diff --git a/Source/devtools/front_end/elements/PlatformFontsSidebarPane.js b/Source/devtools/front_end/elements/PlatformFontsSidebarPane.js |
index e6a9bada6d749453a40db896cddc426d327344f1..80faf46b2cbfbd78f856bc9054da41a1eb58431f 100644 |
--- a/Source/devtools/front_end/elements/PlatformFontsSidebarPane.js |
+++ b/Source/devtools/front_end/elements/PlatformFontsSidebarPane.js |
@@ -37,7 +37,7 @@ WebInspector.PlatformFontsSidebarPane = function() |
WebInspector.SidebarPane.call(this, WebInspector.UIString("Fonts")); |
this.element.classList.add("platform-fonts"); |
- this._sectionTitle = document.createElementWithClass("div", "sidebar-separator"); |
+ this._sectionTitle = createElementWithClass("div", "sidebar-separator"); |
this.element.insertBefore(this._sectionTitle, this.bodyElement); |
this._sectionTitle.textContent = WebInspector.UIString("Rendered Fonts"); |
this._fontStatsSection = this.bodyElement.createChild("div", "stats-section"); |