Chromium Code Reviews| 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 02e9279d0792cbb813b7d80195ed553274ce64ec..d4256cc156494fb2f776d80ffe87e5e904d5a185 100644 |
| --- a/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp |
| +++ b/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp |
| @@ -294,7 +294,7 @@ void HTMLSlotElement::updateDistributedNodesWithFallback() |
| void HTMLSlotElement::enqueueSlotChangeEvent() |
| { |
| if (!m_slotchangeEventEnqueued) { |
| - Microtask::enqueueMicrotask(WTF::bind(&HTMLSlotElement::dispatchSlotChangeEvent, Persistent<HTMLSlotElement>(this))); |
| + Microtask::enqueueMicrotask(WTF::bind(&HTMLSlotElement::dispatchSlotChangeEvent, wrapCrossThreadPersistent(this))); |
|
hiroshige
2016/06/15 12:12:39
Shouldn't this be |wrapPersistent(this)| to keep t
tzik
2016/06/21 09:09:04
Done.
|
| m_slotchangeEventEnqueued = true; |
| } |