| Index: sky/engine/core/css/resolver/StyleResolver.cpp
|
| diff --git a/sky/engine/core/css/resolver/StyleResolver.cpp b/sky/engine/core/css/resolver/StyleResolver.cpp
|
| index 95d12e54234151da7f582d982556a56aa4faa22d..852151989f5ab2c2942ade14b385bd39c1f5af12 100644
|
| --- a/sky/engine/core/css/resolver/StyleResolver.cpp
|
| +++ b/sky/engine/core/css/resolver/StyleResolver.cpp
|
| @@ -58,7 +58,6 @@
|
| #include "sky/engine/core/css/resolver/StyleBuilder.h"
|
| #include "sky/engine/core/css/resolver/StyleResolverState.h"
|
| #include "sky/engine/core/css/resolver/StyleResolverStats.h"
|
| -#include "sky/engine/core/css/resolver/StyleResourceLoader.h"
|
| #include "sky/engine/core/dom/NodeRenderStyle.h"
|
| #include "sky/engine/core/dom/StyleEngine.h"
|
| #include "sky/engine/core/dom/Text.h"
|
| @@ -184,12 +183,6 @@ PassRefPtr<RenderStyle> StyleResolver::styleForDocument(Document& document)
|
| return documentStyle.release();
|
| }
|
|
|
| -void StyleResolver::loadPendingResources(StyleResolverState& state)
|
| -{
|
| - StyleResourceLoader loader(m_document.fetcher());
|
| - loader.loadPendingResources(state.style(), state.elementStyleResources());
|
| -}
|
| -
|
| PassRefPtr<RenderStyle> StyleResolver::styleForElement(Element* element, RenderStyle* defaultParent)
|
| {
|
| ASSERT(m_document.frame());
|
| @@ -328,9 +321,6 @@ bool StyleResolver::applyAnimatedProperties(StyleResolverState& state, Element*
|
| applyAnimatedProperties<LowPriorityProperties>(state, activeInterpolationsForAnimations);
|
| applyAnimatedProperties<LowPriorityProperties>(state, activeInterpolationsForTransitions);
|
|
|
| - // Start loading resources used by animations.
|
| - loadPendingResources(state);
|
| -
|
| ASSERT(!state.fontBuilder().fontDirty());
|
|
|
| return true;
|
| @@ -488,8 +478,6 @@ void StyleResolver::applyMatchedProperties(StyleResolverState& state, const Matc
|
|
|
| applyMatchedProperties<LowPriorityProperties>(state, matchResult, applyInheritedOnly);
|
|
|
| - loadPendingResources(state);
|
| -
|
| if (!cachedMatchedProperties && cacheHash && MatchedPropertiesCache::isCacheable(element, state.style(), state.parentStyle())) {
|
| INCREMENT_STYLE_STATS_COUNTER(*this, matchedPropertyCacheAdded);
|
| m_matchedPropertiesCache.add(state.style(), state.parentStyle(), cacheHash, matchResult);
|
|
|