Index: third_party/WebKit/Source/core/css/invalidation/InvalidationSet.cpp |
diff --git a/third_party/WebKit/Source/core/css/invalidation/InvalidationSet.cpp b/third_party/WebKit/Source/core/css/invalidation/InvalidationSet.cpp |
index 0c2c95cce51e986cfacb35d8d41e365f414bde5a..8178f36e0275a1968983e5326baab68fbeee6be7 100644 |
--- a/third_party/WebKit/Source/core/css/invalidation/InvalidationSet.cpp |
+++ b/third_party/WebKit/Source/core/css/invalidation/InvalidationSet.cpp |
@@ -57,6 +57,7 @@ InvalidationSet::InvalidationSet(InvalidationType type) |
, m_customPseudoInvalid(false) |
, m_treeBoundaryCrossing(false) |
, m_insertionPointCrossing(false) |
+ , m_invalidatesSlotted(false) |
{ |
} |
@@ -132,6 +133,9 @@ void InvalidationSet::combine(const InvalidationSet& other) |
if (other.insertionPointCrossing()) |
setInsertionPointCrossing(); |
+ if (other.invalidatesSlotted()) |
+ setInvalidatesSlotted(); |
+ |
if (other.m_classes) { |
for (const auto& className : *other.m_classes) |
addClass(className); |
@@ -226,6 +230,7 @@ void InvalidationSet::setWholeSubtreeInvalid() |
m_customPseudoInvalid = false; |
m_treeBoundaryCrossing = false; |
m_insertionPointCrossing = false; |
+ m_invalidatesSlotted = false; |
m_classes = nullptr; |
m_ids = nullptr; |
m_tagNames = nullptr; |
@@ -246,6 +251,8 @@ void InvalidationSet::toTracedValue(TracedValue* value) const |
value->setBoolean("treeBoundaryCrossing", true); |
if (m_insertionPointCrossing) |
value->setBoolean("insertionPointCrossing", true); |
+ if (m_invalidatesSlotted) |
+ value->setBoolean("invalidatesSlotted", true); |
if (m_ids) { |
value->beginArray("ids"); |