| Index: third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskDispatcher.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskDispatcher.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskDispatcher.cpp
|
| index 9f5e1848be0025ff5d9fbf9501db157d140c21ba..1bd4539b631480a50cd98bf9233750b677789142 100644
|
| --- a/third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskDispatcher.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskDispatcher.cpp
|
| @@ -35,7 +35,7 @@ void CustomElementMicrotaskDispatcher::enqueue(CustomElementCallbackQueue* queue
|
|
|
| void CustomElementMicrotaskDispatcher::ensureMicrotaskScheduledForElementQueue()
|
| {
|
| - ASSERT(m_phase == Quiescent || m_phase == Resolving);
|
| + DCHECK(m_phase == Quiescent || m_phase == Resolving);
|
| ensureMicrotaskScheduled();
|
| }
|
|
|
| @@ -54,9 +54,10 @@ void CustomElementMicrotaskDispatcher::dispatch()
|
|
|
| void CustomElementMicrotaskDispatcher::doDispatch()
|
| {
|
| - ASSERT(isMainThread());
|
| + DCHECK(isMainThread());
|
|
|
| - ASSERT(m_phase == Quiescent && m_hasScheduledMicrotask);
|
| + DCHECK(m_phase == Quiescent);
|
| + DCHECK(m_hasScheduledMicrotask);
|
| m_hasScheduledMicrotask = false;
|
|
|
| // Finishing microtask work deletes all
|
|
|