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

Unified Diff: Source/core/dom/Element.cpp

Issue 1129673002: Remove support for pseudo classes in <content select>. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix more tests. Created 5 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: Source/core/dom/Element.cpp
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
index 383926f7d5dbcb74335fb52c4cef1da24fb1754d..0fb78271a42ae386dcdf5a84fafa285f7a1cae3f 100644
--- a/Source/core/dom/Element.cpp
+++ b/Source/core/dom/Element.cpp
@@ -1797,9 +1797,6 @@ void Element::pseudoStateChanged(CSSSelector::PseudoType pseudo)
if (inActiveDocument() && styleResolver && styleChangeType() < SubtreeStyleChange)
document().styleEngine().pseudoStateChangedForElement(pseudo, *this);
-
- if (ElementShadow* elementShadow = shadowWhereNodeCanBeDistributed(*this))
- elementShadow->distributedNodePseudoStateChanged(pseudo);
}
void Element::setAnimationStyleChange(bool animationStyleChange)

Powered by Google App Engine
This is Rietveld 408576698