Index: Source/core/dom/custom/CustomElementCallbackScheduler.cpp |
diff --git a/Source/core/dom/custom/CustomElementCallbackScheduler.cpp b/Source/core/dom/custom/CustomElementCallbackScheduler.cpp |
index 2d36478ea86e92a6136e7c272fe8f44fb9d635e8..4d265ef6a1dfa91cd44296dca6c73ca49e86dd61 100644 |
--- a/Source/core/dom/custom/CustomElementCallbackScheduler.cpp |
+++ b/Source/core/dom/custom/CustomElementCallbackScheduler.cpp |
@@ -33,7 +33,9 @@ |
#include "core/dom/Element.h" |
#include "core/dom/custom/CustomElementCallbackDispatcher.h" |
+#include "core/dom/custom/CustomElementCallbackInvocation.h" |
dominicc (has gone to gerrit)
2013/12/14 02:42:39
Oops. Thanks.
|
#include "core/dom/custom/CustomElementLifecycleCallbacks.h" |
+#include "core/dom/custom/CustomElementResolutionStep.h" |
namespace WebCore { |
@@ -73,6 +75,12 @@ void CustomElementCallbackScheduler::scheduleLeftViewCallback(PassRefPtr<CustomE |
queue->append(CustomElementCallbackInvocation::createInvocation(callbacks, CustomElementLifecycleCallbacks::LeftView)); |
} |
+void CustomElementCallbackScheduler::scheduleResolutionStep(const CustomElementDescriptor& descriptor, PassRefPtr<Element> element) |
+{ |
+ CustomElementCallbackQueue* queue = instance().schedule(element); |
+ queue->append(CustomElementResolutionStep::create(descriptor)); |
+} |
+ |
CustomElementCallbackScheduler& CustomElementCallbackScheduler::instance() |
{ |
DEFINE_STATIC_LOCAL(CustomElementCallbackScheduler, instance, ()); |