Index: Source/WebCore/bindings/js/JSNodeListCustom.cpp |
=================================================================== |
--- Source/WebCore/bindings/js/JSNodeListCustom.cpp (revision 122247) |
+++ Source/WebCore/bindings/js/JSNodeListCustom.cpp (working copy) |
@@ -43,7 +43,7 @@ |
return false; |
if (!jsNodeList->impl()->isDynamicNodeList()) |
return false; |
- return visitor.containsOpaqueRoot(root(static_cast<DynamicNodeList*>(jsNodeList->impl())->node())); |
+ return visitor.containsOpaqueRoot(root(static_cast<DynamicNodeList*>(jsNodeList->impl())->ownerNode())); |
} |
bool JSNodeList::canGetItemsForName(ExecState*, NodeList* impl, PropertyName propertyName) |