| Index: third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp b/third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp
|
| index 62fee7de6dbcf0885231ac833fddb6c015678c1f..bae3b8424c6cb942d3219ed4541e3d3b5e1d32d0 100644
|
| --- a/third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp
|
| @@ -333,7 +333,7 @@ void ElementShadow::distributeV0()
|
| void ElementShadow::distributeV1()
|
| {
|
| if (!m_slotAssignment)
|
| - m_slotAssignment = adoptPtr(new SlotAssignment());
|
| + m_slotAssignment = SlotAssignment::create();
|
| m_slotAssignment->resolveAssignment(youngestShadowRoot());
|
| }
|
|
|
| @@ -404,6 +404,7 @@ DEFINE_TRACE(ElementShadow)
|
| // It is therefore enough to trace one of the shadow roots here and the
|
| // rest will be traced from there.
|
| visitor->trace(m_shadowRoots.head());
|
| + visitor->trace(m_slotAssignment);
|
| #endif
|
| }
|
|
|
|
|