| 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..d78a75009fae620a8ef444605150842a712ead6e 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->hostChildSlotNameChanged(params.oldValue, params.newValue);
|
| }
|
|
|
| parseAttribute(params);
|
|
|