Index: content/public/browser/navigation_handle.cc |
diff --git a/content/public/browser/navigation_handle.cc b/content/public/browser/navigation_handle.cc |
index 6bb48ebc13d7677441e734a862986281be1ee512..ec0099b2b42e1ad788940683549ce661ae670235 100644 |
--- a/content/public/browser/navigation_handle.cc |
+++ b/content/public/browser/navigation_handle.cc |
@@ -26,8 +26,7 @@ NavigationHandle::CreateNavigationHandleForTesting( |
const GURL& url, |
RenderFrameHost* render_frame_host, |
bool committed, |
- net::Error error, |
- bool has_user_gesture) { |
+ net::Error error) { |
std::unique_ptr<NavigationHandleImpl> handle_impl = |
NavigationHandleImpl::Create( |
url, static_cast<RenderFrameHostImpl*>(render_frame_host) |
@@ -35,7 +34,6 @@ NavigationHandle::CreateNavigationHandleForTesting( |
true, // is_renderer_initiated |
false, // is_same_page |
base::TimeTicks::Now(), 0, |
- has_user_gesture ? NavigationGestureUser : NavigationGestureAuto, |
false); // started_from_context_menu |
handle_impl->set_render_frame_host( |
static_cast<RenderFrameHostImpl*>(render_frame_host)); |