| Index: Source/core/css/analyzer/DescendantInvalidationSet.cpp
|
| diff --git a/Source/core/css/analyzer/DescendantInvalidationSet.cpp b/Source/core/css/analyzer/DescendantInvalidationSet.cpp
|
| index 8a4aa57278870684f6b4efb9aa1152d748ea8673..5dd11f92160fc624e143f06eb62e2d4edac98780 100644
|
| --- a/Source/core/css/analyzer/DescendantInvalidationSet.cpp
|
| +++ b/Source/core/css/analyzer/DescendantInvalidationSet.cpp
|
| @@ -121,4 +121,15 @@ void DescendantInvalidationSet::getClasses(Vector<AtomicString>& classes) const
|
| classes.append(*it);
|
| }
|
|
|
| +void DescendantInvalidationSet::setWholeSubtreeInvalid()
|
| +{
|
| + if (m_allDescendantsMightBeInvalid)
|
| + return;
|
| +
|
| + m_allDescendantsMightBeInvalid = true;
|
| + m_classes = nullptr;
|
| + m_ids = nullptr;
|
| + m_tagNames = nullptr;
|
| +}
|
| +
|
| } // namespace WebCore
|
|
|