| Index: Source/core/css/resolver/StyleResolver.cpp
|
| diff --git a/Source/core/css/resolver/StyleResolver.cpp b/Source/core/css/resolver/StyleResolver.cpp
|
| index eaee5bb0defc939b24441d3551898845c4785322..547c0a81ca61db86859492dadcf69ad437050a9b 100644
|
| --- a/Source/core/css/resolver/StyleResolver.cpp
|
| +++ b/Source/core/css/resolver/StyleResolver.cpp
|
| @@ -798,6 +798,7 @@ PassRefPtr<RenderStyle> StyleResolver::styleForKeyframe(Element* e, const Render
|
|
|
| // Start loading resources referenced by this style.
|
| m_styleResourceLoader.loadPendingResources(state.style(), state.elementStyleResources());
|
| + m_fontSelector->loadPendingFonts();
|
|
|
| didAccess();
|
|
|
| @@ -958,6 +959,7 @@ PassRefPtr<RenderStyle> StyleResolver::styleForPage(int pageIndex)
|
|
|
| // Start loading resources referenced by this style.
|
| m_styleResourceLoader.loadPendingResources(state.style(), state.elementStyleResources());
|
| + m_fontSelector->loadPendingFonts();
|
|
|
| didAccess();
|
|
|
| @@ -1347,6 +1349,7 @@ void StyleResolver::applyMatchedProperties(StyleResolverState& state, const Matc
|
|
|
| // Start loading resources referenced by this style.
|
| m_styleResourceLoader.loadPendingResources(state.style(), state.elementStyleResources());
|
| + m_fontSelector->loadPendingFonts();
|
|
|
| if (!cachedMatchedProperties && cacheHash && MatchedPropertiesCache::isCacheable(element, state.style(), state.parentStyle())) {
|
| INCREMENT_STYLE_STATS_COUNTER(*this, matchedPropertyCacheAdded);
|
|
|