Index: Source/core/css/resolver/MatchedPropertiesCache.h |
diff --git a/Source/core/css/resolver/MatchedPropertiesCache.h b/Source/core/css/resolver/MatchedPropertiesCache.h |
index 3dccd188e31e8b7567263732a9a522b0221424f4..1b00343c981d5b5529732c265d43a4d993393da9 100644 |
--- a/Source/core/css/resolver/MatchedPropertiesCache.h |
+++ b/Source/core/css/resolver/MatchedPropertiesCache.h |
@@ -33,7 +33,7 @@ |
namespace blink { |
-class LayoutStyle; |
+class ComputedStyle; |
class StyleResolverState; |
class CachedMatchedProperties final : public NoBaseWillBeGarbageCollectedFinalized<CachedMatchedProperties> { |
@@ -41,10 +41,10 @@ class CachedMatchedProperties final : public NoBaseWillBeGarbageCollectedFinaliz |
public: |
WillBeHeapVector<MatchedProperties> matchedProperties; |
MatchRanges ranges; |
- RefPtr<LayoutStyle> layoutStyle; |
- RefPtr<LayoutStyle> parentLayoutStyle; |
+ RefPtr<ComputedStyle> computedStyle; |
+ RefPtr<ComputedStyle> parentComputedStyle; |
- void set(const LayoutStyle&, const LayoutStyle& parentStyle, const MatchResult&); |
+ void set(const ComputedStyle&, const ComputedStyle& parentStyle, const MatchResult&); |
void clear(); |
DEFINE_INLINE_TRACE() { visitor->trace(matchedProperties); } |
}; |
@@ -92,12 +92,12 @@ public: |
MatchedPropertiesCache(); |
const CachedMatchedProperties* find(unsigned hash, const StyleResolverState&, const MatchResult&); |
- void add(const LayoutStyle&, const LayoutStyle& parentStyle, unsigned hash, const MatchResult&); |
+ void add(const ComputedStyle&, const ComputedStyle& parentStyle, unsigned hash, const MatchResult&); |
void clear(); |
void clearViewportDependent(); |
- static bool isCacheable(const Element*, const LayoutStyle&, const LayoutStyle& parentStyle); |
+ static bool isCacheable(const Element*, const ComputedStyle&, const ComputedStyle& parentStyle); |
DECLARE_TRACE(); |