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

Unified Diff: sky/engine/core/dom/custom/CustomElementScheduler.cpp

Issue 885713004: Remove CustomElementDescriptor. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « sky/engine/core/dom/custom/CustomElementScheduler.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/custom/CustomElementScheduler.cpp
diff --git a/sky/engine/core/dom/custom/CustomElementScheduler.cpp b/sky/engine/core/dom/custom/CustomElementScheduler.cpp
index 5941264ba3de42e50e1a6751f6caa8eb06f9beb8..a4a837f775e450bb8e02e36f2c7c8b559c724550 100644
--- a/sky/engine/core/dom/custom/CustomElementScheduler.cpp
+++ b/sky/engine/core/dom/custom/CustomElementScheduler.cpp
@@ -69,15 +69,15 @@ void CustomElementScheduler::scheduleAttributeChangedCallback(PassRefPtr<CustomE
queue.append(CustomElementCallbackInvocation::createAttributeChangedInvocation(callbacks, name, oldValue, newValue));
}
-void CustomElementScheduler::resolveOrScheduleResolution(PassRefPtr<CustomElementRegistrationContext> context, PassRefPtr<Element> element, const CustomElementDescriptor& descriptor)
+void CustomElementScheduler::resolveOrScheduleResolution(PassRefPtr<CustomElementRegistrationContext> context, PassRefPtr<Element> element)
{
if (CustomElementProcessingStack::inCallbackDeliveryScope()) {
- context->resolve(element.get(), descriptor);
+ context->resolve(element.get());
return;
}
Document& document = element->document();
- OwnPtr<CustomElementMicrotaskResolutionStep> step = CustomElementMicrotaskResolutionStep::create(context, element, descriptor);
+ OwnPtr<CustomElementMicrotaskResolutionStep> step = CustomElementMicrotaskResolutionStep::create(context, element);
enqueueMicrotaskStep(document, step.release());
}
« no previous file with comments | « sky/engine/core/dom/custom/CustomElementScheduler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698