Chromium Code Reviews| Index: Source/core/dom/Node.cpp |
| diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp |
| index 338aa5734b2ed6ec461f18cb4d2f1241a99d82d4..c7d5aff81281e72751725323f317d807d1125b4b 100644 |
| --- a/Source/core/dom/Node.cpp |
| +++ b/Source/core/dom/Node.cpp |
| @@ -1022,6 +1022,8 @@ void Node::detach(const AttachContext& context) |
| if (StyleResolver* resolver = document().styleResolver()) |
| resolver->ruleFeatureSet().styleInvalidator().clearInvalidation(*this); |
| + clearChildNeedsStyleInvalidation(); |
| + clearNeedsStyleInvalidation(); |
|
esprehn
2014/05/08 05:19:06
You don't need to clear these bits inside clearInv
chrishtr
2014/05/08 05:29:18
Done. Forgot to upload that patch set earlier.
|
| #ifndef NDEBUG |
| detachingNode = 0; |