Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(277)

Unified Diff: third_party/WebKit/Source/core/dom/ElementRareData.h

Issue 1962953002: Storage of ComputedStyle separate from LayoutObject. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed ComputedStyle from ElementRareData Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/ElementRareData.h
diff --git a/third_party/WebKit/Source/core/dom/ElementRareData.h b/third_party/WebKit/Source/core/dom/ElementRareData.h
index f43a0322431270e46adf942b96107d9577465e69..12c830de6dcedc3b35aed9fcf0cd9ac0487535ca 100644
--- a/third_party/WebKit/Source/core/dom/ElementRareData.h
+++ b/third_party/WebKit/Source/core/dom/ElementRareData.h
@@ -88,10 +88,6 @@ public:
NamedNodeMap* attributeMap() const { return m_attributeMap.get(); }
void setAttributeMap(NamedNodeMap* attributeMap) { m_attributeMap = attributeMap; }
- 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(); }
void setClassList(ClassList* classList) { m_classList = classList; }
void clearClassListValueForQuirksMode()
@@ -163,7 +159,6 @@ private:
Member<ElementAnimations> m_elementAnimations;
Member<NodeIntersectionObserverData> m_intersectionObserverData;
- RefPtr<ComputedStyle> m_computedStyle;
Member<V0CustomElementDefinition> m_customElementDefinition;
Member<PseudoElementData> m_pseudoElementData;

Powered by Google App Engine
This is Rietveld 408576698