| Index: third_party/WebKit/Source/core/dom/Node.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Node.cpp b/third_party/WebKit/Source/core/dom/Node.cpp
|
| index fce91f74a2247863f6b827301943423a61b5d212..6d6a26979ca9f0f6a3d66591a819d10ddf848294 100644
|
| --- a/third_party/WebKit/Source/core/dom/Node.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Node.cpp
|
| @@ -913,6 +913,7 @@ void Node::detachLayoutTree(const AttachContext& context) {
|
| layoutObject()->destroyAndCleanupAnonymousWrappers();
|
| setLayoutObject(nullptr);
|
| setStyleChange(NeedsReattachStyleChange);
|
| + setFlag(NeedsReattachLayoutTree);
|
| clearChildNeedsStyleInvalidation();
|
| }
|
|
|
|
|