Index: Source/core/dom/ElementRareData.h |
diff --git a/Source/core/dom/ElementRareData.h b/Source/core/dom/ElementRareData.h |
index d314723c3a50b1e9ead9e83cf6f81dc37eb6b9ae..6a42af6371e8968789fc04524926269bcac4bb29 100644 |
--- a/Source/core/dom/ElementRareData.h |
+++ b/Source/core/dom/ElementRareData.h |
@@ -87,8 +87,8 @@ public: |
NamedNodeMap* attributeMap() const { return m_attributeMap.get(); } |
void setAttributeMap(PassOwnPtrWillBeRawPtr<NamedNodeMap> attributeMap) { m_attributeMap = attributeMap; } |
- LayoutStyle* computedStyle() const { return m_computedStyle.get(); } |
- void setComputedStyle(PassRefPtr<LayoutStyle> computedStyle) { m_computedStyle = computedStyle; } |
+ ComputedStyle* ensureComputedStyle() const { return m_computedStyle.get(); } |
+ void setComputedStyle(PassRefPtr<ComputedStyle> computedStyle) { m_computedStyle = computedStyle; } |
void clearComputedStyle() { m_computedStyle = nullptr; } |
ClassList* classList() const { return m_classList.get(); } |
@@ -151,7 +151,7 @@ private: |
OwnPtrWillBeMember<ElementAnimations> m_elementAnimations; |
OwnPtrWillBeMember<InlineCSSStyleDeclaration> m_cssomWrapper; |
- RefPtr<LayoutStyle> m_computedStyle; |
+ RefPtr<ComputedStyle> m_computedStyle; |
RefPtrWillBeMember<CustomElementDefinition> m_customElementDefinition; |
RefPtrWillBeMember<PseudoElement> m_generatedBefore; |