| Index: third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskRunQueue.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskRunQueue.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskRunQueue.cpp
|
| index ca519ac334af8b2f612295188a3bc7427852694b..2cca514c2943f8462be2262b9490cc65c40e9c13 100644
|
| --- a/third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskRunQueue.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskRunQueue.cpp
|
| @@ -11,8 +11,6 @@
|
|
|
| namespace blink {
|
|
|
| -DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(CustomElementMicrotaskRunQueue)
|
| -
|
| CustomElementMicrotaskRunQueue::CustomElementMicrotaskRunQueue()
|
| : m_syncQueue(CustomElementSyncMicrotaskQueue::create())
|
| , m_asyncQueue(CustomElementAsyncImportMicrotaskQueue::create())
|
| @@ -23,7 +21,7 @@ CustomElementMicrotaskRunQueue::CustomElementMicrotaskRunQueue()
|
| {
|
| }
|
|
|
| -void CustomElementMicrotaskRunQueue::enqueue(HTMLImportLoader* parentLoader, PassOwnPtrWillBeRawPtr<CustomElementMicrotaskStep> step, bool importIsSync)
|
| +void CustomElementMicrotaskRunQueue::enqueue(HTMLImportLoader* parentLoader, RawPtr<CustomElementMicrotaskStep> step, bool importIsSync)
|
| {
|
| if (importIsSync) {
|
| if (parentLoader)
|
| @@ -37,10 +35,10 @@ void CustomElementMicrotaskRunQueue::enqueue(HTMLImportLoader* parentLoader, Pas
|
| requestDispatchIfNeeded();
|
| }
|
|
|
| -void CustomElementMicrotaskRunQueue::dispatchIfAlive(WeakPtrWillBeWeakPersistent<CustomElementMicrotaskRunQueue> self)
|
| +void CustomElementMicrotaskRunQueue::dispatchIfAlive(WeakPersistent<CustomElementMicrotaskRunQueue> self)
|
| {
|
| if (self.get()) {
|
| - RefPtrWillBeRawPtr<CustomElementMicrotaskRunQueue> protect(self.get());
|
| + RawPtr<CustomElementMicrotaskRunQueue> protect(self.get());
|
| self->dispatch();
|
| }
|
| }
|
|
|