Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(413)

Unified Diff: third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp

Issue 2854853006: Simplify FrameLoader::Clear(), remove FrameLoader::check_timer_ (Closed)
Patch Set: Move EnableEval(), remove unneeded(?) Clear() calls Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() {

Powered by Google App Engine
This is Rietveld 408576698