Index: Source/WebCore/html/HTMLFrameElementBase.cpp |
=================================================================== |
--- Source/WebCore/html/HTMLFrameElementBase.cpp (revision 128789) |
+++ Source/WebCore/html/HTMLFrameElementBase.cpp (working copy) |
@@ -161,9 +161,10 @@ |
return InsertionDone; |
} |
-void HTMLFrameElementBase::didNotifySubtreeInsertions(ContainerNode* insertionPoint) |
+void HTMLFrameElementBase::didNotifySubtreeInsertions(ContainerNode*) |
{ |
- ASSERT_UNUSED(insertionPoint, insertionPoint->inDocument()); |
+ if (!inDocument()) |
+ return; |
// DocumentFragments don't kick of any loads. |
if (!document()->frame()) |