Index: Source/WebCore/dom/Node.cpp |
=================================================================== |
--- Source/WebCore/dom/Node.cpp (revision 109461) |
+++ Source/WebCore/dom/Node.cpp (working copy) |
@@ -2132,7 +2132,7 @@ |
case ENTITY_REFERENCE_NODE: |
case DOCUMENT_FRAGMENT_NODE: |
case SHADOW_ROOT_NODE: { |
- ContainerNode* container = toContainerNode(this); |
+ RefPtr<ContainerNode> container = toContainerNode(this); |
#if ENABLE(MUTATION_OBSERVERS) |
ChildListMutationScope mutation(this); |
#endif |