Index: Source/core/dom/ChildListMutationScope.cpp |
diff --git a/Source/core/dom/ChildListMutationScope.cpp b/Source/core/dom/ChildListMutationScope.cpp |
index cce9f6bebc756a792feb3b3348ea43677fcd32d8..85f38f340f62f81e81b19856cfd16aa113e293a7 100644 |
--- a/Source/core/dom/ChildListMutationScope.cpp |
+++ b/Source/core/dom/ChildListMutationScope.cpp |
@@ -126,8 +126,8 @@ void ChildListMutationAccumulator::enqueueMutationRecord() |
ASSERT(hasObservers()); |
ASSERT(!isEmpty()); |
- RefPtr<NodeList> addedNodes = StaticNodeList::adopt(m_addedNodes); |
- RefPtr<NodeList> removedNodes = StaticNodeList::adopt(m_removedNodes); |
+ RefPtrWillBeRawPtr<NodeList> addedNodes = StaticNodeList::adopt(m_addedNodes); |
+ RefPtrWillBeRawPtr<NodeList> removedNodes = StaticNodeList::adopt(m_removedNodes); |
RefPtrWillBeRawPtr<MutationRecord> record = MutationRecord::createChildList(m_target, addedNodes.release(), removedNodes.release(), m_previousSibling.release(), m_nextSibling.release()); |
m_observers->enqueueMutationRecord(record.release()); |
m_lastAdded = 0; |