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