| Index: third_party/WebKit/Source/core/html/HTMLSlotElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp b/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp
|
| index 331437363377ec23e6146f20400e17cbe95f9bb0..fcf0a5369396c59c075ab85ddef0806a2ae68d41 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp
|
| @@ -341,7 +341,7 @@ void HTMLSlotElement::didUpdateDistribution()
|
| void HTMLSlotElement::fireSlotChangeEvent()
|
| {
|
| ASSERT(!m_slotchangeEventAdded);
|
| - Microtask::enqueueMicrotask(WTF::bind(&HTMLSlotElement::dispatchSlotChangeEvent, this));
|
| + Microtask::enqueueMicrotask(WTF::bind(&HTMLSlotElement::dispatchSlotChangeEvent, retainedRef(this)));
|
| m_slotchangeEventAdded = true;
|
|
|
| Element* shadowHost = isShadowHost(parentElement()) ? parentElement() : nullptr;
|
|
|