| 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 2f785864e965acf7fd723150ad610ae6007fe8cb..be31a5925079b541548eab5d302fe9c3f64401b2 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();
|
| }
|
|
|
|
|