RenderTheme does not need to be per-page
[WebKit-https.git] / Source / WebCore / page / MemoryRelease.cpp
index 214e9d3..373088b 100644 (file)
@@ -57,7 +57,7 @@ namespace WebCore {
 
 static void releaseNoncriticalMemory()
 {
-    RenderTheme::defaultTheme()->purgeCaches();
+    RenderTheme::singleton().purgeCaches();
 
     FontCache::singleton().purgeInactiveFontData();