Index: Source/devtools/front_end/PlatformFontsSidebarPane.js |
diff --git a/Source/devtools/front_end/PlatformFontsSidebarPane.js b/Source/devtools/front_end/PlatformFontsSidebarPane.js |
index 29db225e5b1e4045b1710f3857978e215ceb639a..be44f171f6754e9dbda169ab15af284e6ec817fd 100644 |
--- a/Source/devtools/front_end/PlatformFontsSidebarPane.js |
+++ b/Source/devtools/front_end/PlatformFontsSidebarPane.js |
@@ -91,7 +91,7 @@ WebInspector.PlatformFontsSidebarPane.prototype = { |
this._fontStatsSection.removeChildren(); |
var isEmptySection = !platformFonts || !platformFonts.length; |
- this._sectionTitle.enableStyleClass("hidden", isEmptySection); |
+ this._sectionTitle.classList.toggle("hidden", isEmptySection); |
if (isEmptySection) |
return; |
platformFonts.sort(function (a, b) { |