| 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 2779b52b78d584da2e9de46afc3bf055d4c1fc0c..c3c78949c10bedc770f876d1e281d1df65c65692 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp
|
| @@ -52,7 +52,7 @@ inline HTMLSlotElement::HTMLSlotElement(Document& document)
|
|
|
| DEFINE_NODE_FACTORY(HTMLSlotElement);
|
|
|
| -const WillBeHeapVector<RefPtrWillBeMember<Node>> HTMLSlotElement::getAssignedNodesForBinding(const AssignedNodesOptions& options)
|
| +const HeapVector<Member<Node>> HTMLSlotElement::getAssignedNodesForBinding(const AssignedNodesOptions& options)
|
| {
|
| updateDistribution();
|
| if (options.hasFlatten() && options.flatten())
|
| @@ -60,7 +60,7 @@ const WillBeHeapVector<RefPtrWillBeMember<Node>> HTMLSlotElement::getAssignedNod
|
| return m_assignedNodes;
|
| }
|
|
|
| -const WillBeHeapVector<RefPtrWillBeMember<Node>>& HTMLSlotElement::getDistributedNodes()
|
| +const HeapVector<Member<Node>>& HTMLSlotElement::getDistributedNodes()
|
| {
|
| ASSERT(!needsDistributionRecalc());
|
| if (isInShadowTree())
|
| @@ -124,7 +124,7 @@ bool HTMLSlotElement::hasSlotChangeEventListener()
|
|
|
| void HTMLSlotElement::dispatchSlotChangeEvent()
|
| {
|
| - RefPtrWillBeRawPtr<Event> event = Event::create(EventTypeNames::slotchange);
|
| + RawPtr<Event> event = Event::create(EventTypeNames::slotchange);
|
| event->setTarget(this);
|
| dispatchScopedEvent(event);
|
| }
|
| @@ -269,7 +269,7 @@ void HTMLSlotElement::didUpdateDistribution()
|
| }
|
| if (hasSlotChangeEventListener() && distributionChanged()) {
|
| // TODO(hayato): Do not enqueue a slotchange event for the same slot twice in the microtask queue
|
| - Microtask::enqueueMicrotask(WTF::bind(&HTMLSlotElement::dispatchSlotChangeEvent, PassRefPtrWillBeRawPtr<HTMLSlotElement>(this)));
|
| + Microtask::enqueueMicrotask(WTF::bind(&HTMLSlotElement::dispatchSlotChangeEvent, RawPtr<HTMLSlotElement>(this)));
|
| }
|
| }
|
|
|
|
|