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 42ebd733f884b203c31ce423db41c6718b218291..ca61f54250a82387ba9b891f8dcc29f1b2a27a7f 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp |
@@ -165,6 +165,7 @@ void HTMLFrameOwnerElement::clearContentFrame() |
if (!m_contentFrame) |
return; |
+ ASSERT(m_contentFrame->owner() == this); |
m_contentFrame = nullptr; |
for (ContainerNode* node = this; node; node = node->parentOrShadowHostNode()) |