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

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

Issue 208933003: Remove SiblingRuleHelper (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Tighten types to ContainerNode Created 6 years, 9 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
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/dom/Node.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ElementRareData.h
diff --git a/Source/core/dom/ElementRareData.h b/Source/core/dom/ElementRareData.h
index dfd11b37b106e25d6eb76444544f8e359f47f547..f40beff086867fffb9092058a0f58ba7823b0028 100644
--- a/Source/core/dom/ElementRareData.h
+++ b/Source/core/dom/ElementRareData.h
@@ -48,20 +48,19 @@ public:
PseudoElement* pseudoElement(PseudoId) const;
void resetStyleState();
- void resetDynamicRestyleObservations();
short tabIndex() const { return m_tabindex; }
void setTabIndexExplicitly(short index)
{
m_tabindex = index;
- setFlag(TabIndexWasSetExplicitly, true);
+ setElementFlag(TabIndexWasSetExplicitly, true);
}
void clearTabIndexExplicitly()
{
m_tabindex = 0;
- clearFlag(TabIndexWasSetExplicitly);
+ clearElementFlag(TabIndexWasSetExplicitly);
}
unsigned childIndex() const { return m_childIndex; }
@@ -220,24 +219,10 @@ inline PseudoElement* ElementRareData::pseudoElement(PseudoId pseudoId) const
inline void ElementRareData::resetStyleState()
{
- clearFlag(StyleAffectedByEmpty);
+ clearElementFlag(StyleAffectedByEmpty);
setChildIndex(0);
}
-inline void ElementRareData::resetDynamicRestyleObservations()
-{
- clearFlag(ChildrenAffectedByFocus);
- clearFlag(ChildrenAffectedByHover);
- clearFlag(ChildrenAffectedByActive);
- clearFlag(ChildrenAffectedByDrag);
- clearFlag(ChildrenAffectedByFirstChildRules);
- clearFlag(ChildrenAffectedByLastChildRules);
- clearFlag(ChildrenAffectedByDirectAdjacentRules);
- clearFlag(ChildrenAffectedByIndirectAdjacentRules);
- clearFlag(ChildrenAffectedByForwardPositionalRules);
- clearFlag(ChildrenAffectedByBackwardPositionalRules);
-}
-
} // namespace
#endif // ElementRareData_h
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/dom/Node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698