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

Unified Diff: Source/core/dom/custom/CustomElementScheduler.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
« no previous file with comments | « Source/core/dom/custom/CustomElementProcessingStack.cpp ('k') | Source/web/WebElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/custom/CustomElementScheduler.cpp
diff --git a/Source/core/dom/custom/CustomElementScheduler.cpp b/Source/core/dom/custom/CustomElementScheduler.cpp
index e4c10f3ffa63cfc903e19fb91705906d27e0aaf6..b0b2772c2d3f3b8dffe187d1b9216d3a70607f7b 100644
--- a/Source/core/dom/custom/CustomElementScheduler.cpp
+++ b/Source/core/dom/custom/CustomElementScheduler.cpp
@@ -33,13 +33,13 @@
#include "core/dom/Document.h"
#include "core/dom/Element.h"
-#include "core/dom/custom/CustomElementCallbackDispatcher.h"
#include "core/dom/custom/CustomElementCallbackInvocation.h"
#include "core/dom/custom/CustomElementLifecycleCallbacks.h"
#include "core/dom/custom/CustomElementMicrotaskDispatcher.h"
#include "core/dom/custom/CustomElementMicrotaskImportStep.h"
#include "core/dom/custom/CustomElementMicrotaskResolutionStep.h"
#include "core/dom/custom/CustomElementMicrotaskRunQueue.h"
+#include "core/dom/custom/CustomElementProcessingStack.h"
#include "core/dom/custom/CustomElementRegistrationContext.h"
#include "core/dom/custom/CustomElementSyncMicrotaskQueue.h"
#include "core/html/imports/HTMLImportChild.h"
@@ -71,7 +71,7 @@ void CustomElementScheduler::scheduleAttributeChangedCallback(PassRefPtr<CustomE
void CustomElementScheduler::resolveOrScheduleResolution(PassRefPtrWillBeRawPtr<CustomElementRegistrationContext> context, PassRefPtrWillBeRawPtr<Element> element, const CustomElementDescriptor& descriptor)
{
- if (CustomElementCallbackDispatcher::inCallbackDeliveryScope()) {
+ if (CustomElementProcessingStack::inCallbackDeliveryScope()) {
context->resolve(element.get(), descriptor);
return;
}
@@ -122,7 +122,7 @@ void CustomElementScheduler::callbackDispatcherDidFinish()
void CustomElementScheduler::microtaskDispatcherDidFinish()
{
- ASSERT(!CustomElementCallbackDispatcher::inCallbackDeliveryScope());
+ ASSERT(!CustomElementProcessingStack::inCallbackDeliveryScope());
instance().clearElementCallbackQueueMap();
}
@@ -146,9 +146,9 @@ CustomElementCallbackQueue& CustomElementScheduler::schedule(PassRefPtrWillBeRaw
return callbackQueue;
}
- if (CustomElementCallbackDispatcher::inCallbackDeliveryScope()) {
+ if (CustomElementProcessingStack::inCallbackDeliveryScope()) {
// The processing stack is active.
- CustomElementCallbackDispatcher::instance().enqueue(&callbackQueue);
+ CustomElementProcessingStack::instance().enqueue(&callbackQueue);
return callbackQueue;
}
« no previous file with comments | « Source/core/dom/custom/CustomElementProcessingStack.cpp ('k') | Source/web/WebElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698