| 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 8e19a72a5765676f2d251006ae1098cf3285c06a..13dadd2792807956ca7d7670bab8918b3c581f79 100644
|
| --- a/third_party/WebKit/Source/core/dom/Node.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Node.cpp
|
| @@ -931,6 +931,7 @@ void Node::detachLayoutTree(const AttachContext& context) {
|
| layoutObject()->destroyAndCleanupAnonymousWrappers();
|
| setLayoutObject(nullptr);
|
| setStyleChange(NeedsReattachStyleChange);
|
| + setFlag(NeedsReattachLayoutTree);
|
| clearChildNeedsStyleInvalidation();
|
| }
|
|
|
|
|