RenderTheme does not need to be per-page
[WebKit-https.git] / Source / WebCore / page / linux / ResourceUsageOverlayLinux.cpp
index dd78ca0..07d88a2 100644 (file)
@@ -74,7 +74,7 @@ public:
         : m_overlay(overlay)
     {
         FontCascadeDescription fontDescription;
-        RenderTheme::defaultTheme()->systemFont(CSSValueMessageBox, fontDescription);
+        RenderTheme::singleton().systemFont(CSSValueMessageBox, fontDescription);
         fontDescription.setComputedSize(gFontSize);
         m_textFont = FontCascade(fontDescription, 0, 0);
         m_textFont.update(nullptr);