Index: third_party/WebKit/Source/web/WebMemoryPressureListener.cpp |
diff --git a/third_party/WebKit/Source/web/WebMemoryPressureListener.cpp b/third_party/WebKit/Source/web/WebMemoryPressureListener.cpp |
index e652306a3c8b344e6c2b6edab1964f1dd9524a09..3f26e91a2776c4f72be718c5f0148ba0087c6995 100644 |
--- a/third_party/WebKit/Source/web/WebMemoryPressureListener.cpp |
+++ b/third_party/WebKit/Source/web/WebMemoryPressureListener.cpp |
@@ -6,12 +6,14 @@ |
#include "core/page/Page.h" |
#include "platform/MemoryPurgeController.h" |
+#include "platform/fonts/FontCache.h" |
namespace blink { |
void WebMemoryPressureListener::onMemoryPressure(WebMemoryPressureLevel pressureLevel) |
{ |
Page::onMemoryPressure(); |
+ FontCache::fontCache()->invalidate(); |
MemoryPurgeController::onMemoryPressure(pressureLevel); |
} |