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

Unified Diff: third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp

Issue 2779543007: Add DCHECK to WebEmbeddedWorkerImpl to assert WebFrameClient params. (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698