Index: third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp |
index 93969b4dfec70f35e8ab7df008e82d5d6c21078b..79cb5446b6ce68b150ba4a51170ec45477e364c6 100644 |
--- a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp |
@@ -331,6 +331,7 @@ void WebEmbeddedWorkerImpl::loadShadowPage() { |
} |
void WebEmbeddedWorkerImpl::didFinishDocumentLoad(WebLocalFrame* frame) { |
+ DCHECK_EQ(frame, m_mainFrame); |
DCHECK(!m_mainScriptLoader); |
DCHECK(m_mainFrame); |
DCHECK(m_workerContextClient); |