| Index: third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp b/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp
|
| index 547c347e944e71b7dc9e5455d27c47c575dcf186..89374de3c3be4585d4aba3775ff655e0bbd0eeeb 100644
|
| --- a/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp
|
| @@ -98,7 +98,7 @@ void InsertionPoint::setDistributedNodes(DistributedNodes& distributedNodes)
|
| m_distributedNodes.shrinkToFit();
|
| }
|
|
|
| -void InsertionPoint::attach(const AttachContext& context)
|
| +void InsertionPoint::attachLayoutTree(const AttachContext& context)
|
| {
|
| // We need to attach the distribution here so that they're inserted in the right order
|
| // otherwise the n^2 protection inside LayoutTreeBuilder will cause them to be
|
| @@ -106,10 +106,10 @@ void InsertionPoint::attach(const AttachContext& context)
|
| // the n^2 protection.
|
| for (size_t i = 0; i < m_distributedNodes.size(); ++i) {
|
| if (m_distributedNodes.at(i)->needsAttach())
|
| - m_distributedNodes.at(i)->attach(context);
|
| + m_distributedNodes.at(i)->attachLayoutTree(context);
|
| }
|
|
|
| - HTMLElement::attach(context);
|
| + HTMLElement::attachLayoutTree(context);
|
| }
|
|
|
| void InsertionPoint::detach(const AttachContext& context)
|
|
|