Index: third_party/WebKit/Source/core/css/RuleFeature.cpp |
diff --git a/third_party/WebKit/Source/core/css/RuleFeature.cpp b/third_party/WebKit/Source/core/css/RuleFeature.cpp |
index 5acd6a9aabe7d170e88c6fc6dc171590635db28b..fa5268046a1d7de88956888acfa1d51b42902d4e 100644 |
--- a/third_party/WebKit/Source/core/css/RuleFeature.cpp |
+++ b/third_party/WebKit/Source/core/css/RuleFeature.cpp |
@@ -319,6 +319,9 @@ InvalidationSet* RuleFeatureSet::invalidationSetForSelector(const CSSSelector& s |
if (selector.match() == CSSSelector::PseudoClass) { |
switch (selector.getPseudoType()) { |
case CSSSelector::PseudoEmpty: |
+ case CSSSelector::PseudoFirstChild: |
+ case CSSSelector::PseudoLastChild: |
+ case CSSSelector::PseudoOnlyChild: |
case CSSSelector::PseudoLink: |
case CSSSelector::PseudoVisited: |
case CSSSelector::PseudoAnyLink: |