| 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 ffb377480adadff7c42dd82b2acc81f345dfbd2f..92cc7fb58b35b8ec1c452e73ed1698e7f9cd23d8 100644
|
| --- a/third_party/WebKit/Source/core/dom/Node.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Node.cpp
|
| @@ -917,10 +917,10 @@ void Node::reattach(const AttachContext& context)
|
| // We only need to detach if the node has already been through attach().
|
| if (getStyleChangeType() < NeedsReattachStyleChange)
|
| detach(reattachContext);
|
| - attach(reattachContext);
|
| + attachLayoutTree(reattachContext);
|
| }
|
|
|
| -void Node::attach(const AttachContext&)
|
| +void Node::attachLayoutTree(const AttachContext&)
|
| {
|
| DCHECK(document().inStyleRecalc() || isDocumentNode());
|
| DCHECK(!document().lifecycle().inDetach());
|
|
|