Index: Source/core/dom/custom/CustomElementCallbackQueue.cpp |
diff --git a/Source/core/dom/custom/CustomElementCallbackQueue.cpp b/Source/core/dom/custom/CustomElementCallbackQueue.cpp |
index fe74598f9b85b95e2e1b75b4054de70f12f691ee..d20bb901174d21f44624ec221933940a34b5d999 100644 |
--- a/Source/core/dom/custom/CustomElementCallbackQueue.cpp |
+++ b/Source/core/dom/custom/CustomElementCallbackQueue.cpp |
@@ -33,12 +33,12 @@ |
namespace WebCore { |
-PassOwnPtr<CustomElementCallbackQueue> CustomElementCallbackQueue::create(PassRefPtr<Element> element) |
+PassOwnPtrWillBeRawPtr<CustomElementCallbackQueue> CustomElementCallbackQueue::create(PassRefPtrWillBeRawPtr<Element> element) |
{ |
- return adoptPtr(new CustomElementCallbackQueue(element)); |
+ return adoptPtrWillBeNoop(new CustomElementCallbackQueue(element)); |
} |
-CustomElementCallbackQueue::CustomElementCallbackQueue(PassRefPtr<Element> element) |
+CustomElementCallbackQueue::CustomElementCallbackQueue(PassRefPtrWillBeRawPtr<Element> element) |
: m_element(element) |
, m_owner(-1) |
, m_index(0) |
@@ -72,4 +72,9 @@ bool CustomElementCallbackQueue::processInElementQueue(ElementQueueId caller) |
return didWork; |
} |
+void CustomElementCallbackQueue::trace(Visitor* visitor) |
+{ |
+ visitor->trace(m_element); |
+} |
+ |
} // namespace WebCore |