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

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

Issue 2781923003: Add DCHECK to WebSharedWorkerImpl 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/WebSharedWorkerImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
index fdc3901cf638f790d23ffa5a325cf1e415b8dda3..49263604c7f4b7443f369213c95eb01dc43f6c79 100644
--- a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
+++ b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
@@ -169,6 +169,7 @@ void WebSharedWorkerImpl::loadShadowPage() {
}
void WebSharedWorkerImpl::didFinishDocumentLoad(WebLocalFrame* frame) {
+ DCHECK_EQ(frame, m_mainFrame);
DCHECK(isMainThread());
DCHECK(!m_loadingDocument);
DCHECK(!m_mainScriptLoader);
« 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