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