Index: Source/core/dom/custom/CustomElementMicrotaskResolutionStep.cpp |
diff --git a/Source/core/dom/custom/CustomElementMicrotaskResolutionStep.cpp b/Source/core/dom/custom/CustomElementMicrotaskResolutionStep.cpp |
index 1dce4a531cfe4402416370045b820e4a4a8bf32d..a926f95a3f1e38d165e89a91087ecd28e5cadff7 100644 |
--- a/Source/core/dom/custom/CustomElementMicrotaskResolutionStep.cpp |
+++ b/Source/core/dom/custom/CustomElementMicrotaskResolutionStep.cpp |
@@ -36,12 +36,12 @@ |
namespace WebCore { |
-PassOwnPtr<CustomElementMicrotaskResolutionStep> CustomElementMicrotaskResolutionStep::create(PassRefPtr<CustomElementRegistrationContext> context, PassRefPtr<Element> element, const CustomElementDescriptor& descriptor) |
+PassOwnPtrWillBeRawPtr<CustomElementMicrotaskResolutionStep> CustomElementMicrotaskResolutionStep::create(PassRefPtrWillBeRawPtr<CustomElementRegistrationContext> context, PassRefPtrWillBeRawPtr<Element> element, const CustomElementDescriptor& descriptor) |
{ |
- return adoptPtr(new CustomElementMicrotaskResolutionStep(context, element, descriptor)); |
+ return adoptPtrWillBeNoop(new CustomElementMicrotaskResolutionStep(context, element, descriptor)); |
} |
-CustomElementMicrotaskResolutionStep::CustomElementMicrotaskResolutionStep(PassRefPtr<CustomElementRegistrationContext> context, PassRefPtr<Element> element, const CustomElementDescriptor& descriptor) |
+CustomElementMicrotaskResolutionStep::CustomElementMicrotaskResolutionStep(PassRefPtrWillBeRawPtr<CustomElementRegistrationContext> context, PassRefPtrWillBeRawPtr<Element> element, const CustomElementDescriptor& descriptor) |
: m_context(context) |
, m_element(element) |
, m_descriptor(descriptor) |
@@ -63,6 +63,13 @@ bool CustomElementMicrotaskResolutionStep::needsProcessOrStop() const |
return true; |
} |
+void CustomElementMicrotaskResolutionStep::trace(Visitor* visitor) |
+{ |
+ visitor->trace(m_context); |
+ visitor->trace(m_element); |
+ CustomElementMicrotaskStep::trace(visitor); |
+} |
+ |
#if !defined(NDEBUG) |
void CustomElementMicrotaskResolutionStep::show(unsigned indent) |
{ |