Index: third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp |
index db5edd50ba280da15bdc545b2751c8f154053034..25a0ad82aed98c33a35da6d8cbe88602387cfe10 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp |
@@ -176,6 +176,8 @@ void HTMLFrameOwnerElement::ClearContentFrame() { |
for (ContainerNode* node = this; node; node = node->ParentOrShadowHostNode()) |
node->DecrementConnectedSubframeCount(); |
+ |
+ GetDocument().CheckCompleted(); |
} |
void HTMLFrameOwnerElement::DisconnectContentFrame() { |