| Index: third_party/WebKit/Source/core/dom/Element.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
|
| index d5ea539ee3527b4a3f90bb8e3b32abb76b499bdf..e58ef06841b6cf17b68483961d70ce37995b55a7 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Element.cpp
|
| @@ -1290,10 +1290,8 @@ void Element::attributeChanged(const AttributeModificationParams& params) {
|
| parentElementShadow->setNeedsDistributionRecalc();
|
| }
|
| if (name == HTMLNames::slotAttr && params.oldValue != params.newValue) {
|
| - if (ShadowRoot* root = v1ShadowRootOfParent()) {
|
| - root->ensureSlotAssignment().hostChildSlotNameChanged(params.oldValue,
|
| - params.newValue);
|
| - }
|
| + if (ShadowRoot* root = v1ShadowRootOfParent())
|
| + root->didChangeHostChildSlotName(params.oldValue, params.newValue);
|
| }
|
|
|
| parseAttribute(params);
|
|
|