diff options
Diffstat (limited to 'Source/WebCore/html/HTMLFrameElementBase.cpp')
-rw-r--r-- | Source/WebCore/html/HTMLFrameElementBase.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/WebCore/html/HTMLFrameElementBase.cpp b/Source/WebCore/html/HTMLFrameElementBase.cpp index 3a93a1abd..eaa354994 100644 --- a/Source/WebCore/html/HTMLFrameElementBase.cpp +++ b/Source/WebCore/html/HTMLFrameElementBase.cpp @@ -161,9 +161,10 @@ Node::InsertionNotificationRequest HTMLFrameElementBase::insertedInto(ContainerN 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()) |