| Index: sky/engine/core/dom/Node.cpp
|
| diff --git a/sky/engine/core/dom/Node.cpp b/sky/engine/core/dom/Node.cpp
|
| index 880e02f6e4ac0ee7cb502fffb5a6d374165e87d0..fbd239e253f43796ad012c4aa296db4ca610fbe0 100644
|
| --- a/sky/engine/core/dom/Node.cpp
|
| +++ b/sky/engine/core/dom/Node.cpp
|
| @@ -503,19 +503,6 @@ void Node::setIsLink(bool isLink)
|
| setFlag(isLink, IsLinkFlag);
|
| }
|
|
|
| -void Node::setNeedsStyleInvalidation()
|
| -{
|
| - setFlag(NeedsStyleInvalidationFlag);
|
| - markAncestorsWithChildNeedsStyleInvalidation();
|
| -}
|
| -
|
| -void Node::markAncestorsWithChildNeedsStyleInvalidation()
|
| -{
|
| - for (Node* node = parentOrShadowHostNode(); node && !node->childNeedsStyleInvalidation(); node = node->parentOrShadowHostNode())
|
| - node->setChildNeedsStyleInvalidation();
|
| - document().scheduleRenderTreeUpdateIfNeeded();
|
| -}
|
| -
|
| void Node::markAncestorsWithChildNeedsDistributionRecalc()
|
| {
|
| for (Node* node = this; node && !node->childNeedsDistributionRecalc(); node = node->parentOrShadowHostNode())
|
| @@ -776,11 +763,6 @@ void Node::detach(const AttachContext& context)
|
| setStyleChange(NeedsReattachStyleChange);
|
| setChildNeedsStyleRecalc();
|
|
|
| - if (StyleResolver* resolver = document().styleResolver())
|
| - resolver->ruleFeatureSet().styleInvalidator().clearInvalidation(*this);
|
| - clearChildNeedsStyleInvalidation();
|
| - clearNeedsStyleInvalidation();
|
| -
|
| #if ENABLE(ASSERT)
|
| detachingNode = 0;
|
| #endif
|
|
|