| 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 832a32753ea3be8d7e1d126a70b68b588392669c..b408dbafc4390a10fb859485ed7062a023d6868b 100644
|
| --- a/third_party/WebKit/Source/core/dom/Node.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Node.cpp
|
| @@ -2262,8 +2262,10 @@ PassRefPtrWillBeRawPtr<StaticNodeList> Node::getDestinationInsertionPoints()
|
| HTMLSlotElement* Node::assignedSlot() const
|
| {
|
| ASSERT(!needsDistributionRecalc());
|
| - if (ElementShadow* shadow = parentElementShadow())
|
| - return shadow->assignedSlotFor(*this);
|
| + if (ElementShadow* shadow = parentElementShadow()) {
|
| + if (shadow->isV1())
|
| + return shadow->assignedSlotFor(*this);
|
| + }
|
| return nullptr;
|
| }
|
|
|
|
|