Chromium Code Reviews| 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 a9c7a70153d49d47c19a290c795bdc87495ab167..fa163eff123d5c5622824fbc985ec427e9df69a6 100644 |
| --- a/third_party/WebKit/Source/core/dom/Node.cpp |
| +++ b/third_party/WebKit/Source/core/dom/Node.cpp |
| @@ -2275,6 +2275,8 @@ PassRefPtrWillBeRawPtr<StaticNodeList> Node::getDestinationInsertionPoints() |
| HTMLSlotElement* Node::assignedSlot() const |
| { |
| + if (!isChildOfV1ShadowHost()) |
|
hayato
2016/03/03 05:42:21
Is it possible to move ASSERT(!needsDistributionRe
yuzuchan
2016/03/04 03:48:36
Done.
|
| + return nullptr; |
| ASSERT(!needsDistributionRecalc()); |
| if (ElementShadow* shadow = parentElementShadow()) { |
| if (shadow->isV1()) |