Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(818)

Unified Diff: Source/core/dom/custom/CustomElementMicrotaskDispatcher.cpp

Issue 503043003: Rename CustomElementCallbackDispatcher (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: TBR added Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/dom/custom/CustomElementMicrotaskDispatcher.cpp
diff --git a/Source/core/dom/custom/CustomElementMicrotaskDispatcher.cpp b/Source/core/dom/custom/CustomElementMicrotaskDispatcher.cpp
index 295e599fc7627fa6876208ef6ee676587bc8bf0e..485721e630a034e252ad2cd205b4dc96ff191b97 100644
--- a/Source/core/dom/custom/CustomElementMicrotaskDispatcher.cpp
+++ b/Source/core/dom/custom/CustomElementMicrotaskDispatcher.cpp
@@ -6,9 +6,9 @@
#include "core/dom/custom/CustomElementMicrotaskDispatcher.h"
#include "core/dom/Microtask.h"
-#include "core/dom/custom/CustomElementCallbackDispatcher.h"
#include "core/dom/custom/CustomElementCallbackQueue.h"
#include "core/dom/custom/CustomElementMicrotaskImportStep.h"
+#include "core/dom/custom/CustomElementProcessingStack.h"
#include "core/dom/custom/CustomElementScheduler.h"
#include "wtf/MainThread.h"
@@ -66,14 +66,14 @@ void CustomElementMicrotaskDispatcher::doDispatch()
// Finishing microtask work deletes all
// CustomElementCallbackQueues. Being in a callback delivery scope
// implies those queues could still be in use.
- ASSERT_WITH_SECURITY_IMPLICATION(!CustomElementCallbackDispatcher::inCallbackDeliveryScope());
+ ASSERT_WITH_SECURITY_IMPLICATION(!CustomElementProcessingStack::inCallbackDeliveryScope());
m_phase = Resolving;
m_phase = DispatchingCallbacks;
for (WillBeHeapVector<RawPtrWillBeMember<CustomElementCallbackQueue> >::iterator it = m_elements.begin(); it != m_elements.end(); ++it) {
// Created callback may enqueue an attached callback.
- CustomElementCallbackDispatcher::CallbackDeliveryScope scope;
+ CustomElementProcessingStack::CallbackDeliveryScope scope;
(*it)->processInElementQueue(kMicrotaskQueueId);
}
« no previous file with comments | « Source/core/dom/custom/CustomElementCallbackDispatcher.cpp ('k') | Source/core/dom/custom/CustomElementMicrotaskQueueBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698