Chromium Code Reviews| 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 d5feaa1f73d247f0c0df0b1925e500de1d7eb700..d4fb79c7f893da24326c8ce258083b8ad1103614 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); |
| + setLocalNeedsReattachLayoutTree(); |
|
nainar
2016/12/07 14:48:21
make sure that we are setting the NeedsReattachLay
Bugs Nash
2016/12/07 23:21:44
this function is difficult to understand at first
nainar
2016/12/07 23:49:10
As per discussion with esprehn@, we want to set th
Bugs Nash
2016/12/08 00:27:59
If this is similar to the above call then I would
nainar
2016/12/08 00:45:48
Yup that makes sense calling setFlag(NeedsReattach
|
| clearChildNeedsStyleInvalidation(); |
| } |