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

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

Issue 1491183007: Call pseudoStateChangedForElement from Element::pseudoStateChanged only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/Element.cpp
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
index 0647baada5f00ba90b0589186fce2f144c5431d8..6583831cf9256aab072a2c91099c7ede67f4f4ea 100644
--- a/third_party/WebKit/Source/core/dom/Element.cpp
+++ b/third_party/WebKit/Source/core/dom/Element.cpp
@@ -2066,7 +2066,7 @@ void Element::checkForEmptyStyleChange()
return;
if (!style || (styleAffectedByEmpty() && (!style->emptyState() || hasChildren())))
- document().styleEngine().pseudoStateChangedForElement(CSSSelector::PseudoEmpty, *this);
+ pseudoStateChanged(CSSSelector::PseudoEmpty);
}
void Element::childrenChanged(const ChildrenChange& change)
« no previous file with comments | « third_party/WebKit/Source/core/dom/ContainerNode.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698