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

Unified Diff: content/test/test_web_contents.cc

Issue 1202593002: Move browser-to-renderer opener plumbing to frame routing IDs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@opener-create-opener-render-views
Patch Set: Remove suppress_opener 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
« no previous file with comments | « content/test/test_web_contents.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_web_contents.cc
diff --git a/content/test/test_web_contents.cc b/content/test/test_web_contents.cc
index 65bb578f286ddc668e9396dd96b818a0e7fe4dc3..bc5bc444a5d81ce7c19cc1135ef4a31ef0003aa4 100644
--- a/content/test/test_web_contents.cc
+++ b/content/test/test_web_contents.cc
@@ -128,18 +128,15 @@ bool TestWebContents::CrossProcessNavigationPending() {
bool TestWebContents::CreateRenderViewForRenderManager(
RenderViewHost* render_view_host,
- int opener_route_id,
+ int opener_frame_routing_id,
int proxy_routing_id,
const FrameReplicationState& replicated_frame_state,
bool for_main_frame) {
UpdateMaxPageIDIfNecessary(render_view_host);
// This will go to a TestRenderViewHost.
- static_cast<RenderViewHostImpl*>(
- render_view_host)->CreateRenderView(opener_route_id,
- proxy_routing_id,
- -1,
- replicated_frame_state,
- false);
+ static_cast<RenderViewHostImpl*>(render_view_host)
+ ->CreateRenderView(opener_frame_routing_id, proxy_routing_id, -1,
+ replicated_frame_state, false);
return true;
}
« no previous file with comments | « content/test/test_web_contents.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698