Index: third_party/WebKit/Source/core/fetch/FontResource.cpp |
diff --git a/third_party/WebKit/Source/core/fetch/FontResource.cpp b/third_party/WebKit/Source/core/fetch/FontResource.cpp |
index a5314e845fb10fa6267466f8558e4ad47ea417ab..ab5f2251feca730679d3b4a51817c6b99614c06a 100644 |
--- a/third_party/WebKit/Source/core/fetch/FontResource.cpp |
+++ b/third_party/WebKit/Source/core/fetch/FontResource.cpp |
@@ -144,6 +144,14 @@ FontPlatformData FontResource::platformDataFromCustomData( |
return m_fontData->fontPlatformData(size, bold, italic, orientation); |
} |
+void FontResource::willReloadAfterDiskCacheMiss() { |
+ ProhibitAddRemoveClientInScope prohibitAddRemoveClient(this); |
+ |
+ ResourceClientWalker<FontResourceClient> walker(clients()); |
+ while (FontResourceClient* client = walker.next()) |
+ client->willReloadAfterDiskCacheMiss(this); |
+} |
+ |
void FontResource::fontLoadShortLimitCallback(TimerBase*) { |
if (!isLoading()) |
return; |