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

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

Issue 2697753002: PlzNavigate: Fix dynamic iframe back forward layout test failure (Closed)
Patch Set: Renamed is_user_gesture to has_user_gesture Created 3 years, 10 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/render_frame_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index 6c04e236e37ea42de06c2216980b7ff53d24524b..ff3017966644d3634118175d9c0c43f0c2ed4855 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -1087,9 +1087,13 @@ void RenderFrameHostImpl::OnOpenURL(const FrameHostMsg_OpenURL_Params& params) {
// Try to find a FrameNavigationEntry that matches this frame instead, based
// on the frame's unique name. If this can't be found, fall back to the
// default params using RequestOpenURL below.
- if (frame_tree_node_->navigator()->NavigateNewChildFrame(this,
- validated_url))
+ if (frame_tree_node_->navigator()->NavigateNewChildFrame(
+ this,
+ true /* is_renderer_initiated */,
+ params.user_gesture,
+ validated_url)) {
return;
+ }
}
TRACE_EVENT1("navigation", "RenderFrameHostImpl::OpenURL", "url",

Powered by Google App Engine
This is Rietveld 408576698