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

Unified Diff: content/test/test_render_frame_host.cc

Issue 1066823004: PlzNavigate: improve tracking of improper subframe swap-out. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changed NI::GetNavigationRequestForNodeForTesting signature. Created 5 years, 8 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/test/test_render_frame_host.cc
diff --git a/content/test/test_render_frame_host.cc b/content/test/test_render_frame_host.cc
index 93bc602599602e5a8ce517628c914dc2b1c966c9..4ec5f92557c76987b174c6536e8d0407d7d486ba 100644
--- a/content/test/test_render_frame_host.cc
+++ b/content/test/test_render_frame_host.cc
@@ -236,7 +236,8 @@ void TestRenderFrameHost::PrepareForCommitWithServerRedirect(
// PlzNavigate
NavigationRequest* request =
static_cast<NavigatorImpl*>(frame_tree_node_->navigator())
- ->GetNavigationRequestForNodeForTesting(frame_tree_node_);
+ ->GetNavigationRequestForNodeForTesting(
+ frame_tree_node_->frame_tree_node_id());
CHECK(request);
// Simulate a beforeUnload ACK from the renderer if the browser is waiting for

Powered by Google App Engine
This is Rietveld 408576698