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

Unified Diff: content/browser/frame_host/cross_process_frame_connector.cc

Issue 1262563003: Subframes in inner WebContents should not create proxies in process of outer WebContents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments from lfg@ Created 5 years, 5 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: content/browser/frame_host/cross_process_frame_connector.cc
diff --git a/content/browser/frame_host/cross_process_frame_connector.cc b/content/browser/frame_host/cross_process_frame_connector.cc
index 8c473e2cba2a1c9740758f1aec2204b254a3f4aa..d9da44ad29f6092e584f5f529186379d572b20ed 100644
--- a/content/browser/frame_host/cross_process_frame_connector.cc
+++ b/content/browser/frame_host/cross_process_frame_connector.cc
@@ -152,6 +152,7 @@ void CrossProcessFrameConnector::GetScreenInfo(blink::WebScreenInfo* results) {
if (frame_proxy_in_parent_renderer_->frame_tree_node()
->render_manager()
->ForInnerDelegate()) {
+ DCHECK(frame_proxy_in_parent_renderer_->frame_tree_node()->IsMainFrame());
return;
}

Powered by Google App Engine
This is Rietveld 408576698