Index: third_party/WebKit/Source/core/dom/StyleEngine.h |
diff --git a/third_party/WebKit/Source/core/dom/StyleEngine.h b/third_party/WebKit/Source/core/dom/StyleEngine.h |
index 7f1027ba5413eac0bbfaf6b725b69ae07473f975..6bc62016917748a42b2ec8830f76fb7d59382fc3 100644 |
--- a/third_party/WebKit/Source/core/dom/StyleEngine.h |
+++ b/third_party/WebKit/Source/core/dom/StyleEngine.h |
@@ -240,6 +240,10 @@ class CORE_EXPORT StyleEngine final |
void scheduleInvalidationsForRuleSets(TreeScope&, |
const HeapHashSet<Member<RuleSet>>&); |
+ void elementWillBeRemoved(Element& element) { |
+ m_styleInvalidator.rescheduleSiblingInvalidationsAsDescendants(element); |
+ } |
+ |
unsigned styleForElementCount() const { return m_styleForElementCount; } |
void incStyleForElementCount() { m_styleForElementCount++; } |