| Index: content/public/browser/navigation_handle.cc
|
| diff --git a/content/public/browser/navigation_handle.cc b/content/public/browser/navigation_handle.cc
|
| index fecbf178b409773cefe85798fe598a5c4112823e..bcdbdb97b199bb949da118d5bfcd64b7087178ad 100644
|
| --- a/content/public/browser/navigation_handle.cc
|
| +++ b/content/public/browser/navigation_handle.cc
|
| @@ -28,16 +28,16 @@ NavigationHandle::CreateNavigationHandleForTesting(
|
| bool committed,
|
| net::Error error,
|
| bool is_same_page) {
|
| + RenderFrameHostImpl* rfhi =
|
| + static_cast<RenderFrameHostImpl*>(render_frame_host);
|
| std::unique_ptr<NavigationHandleImpl> handle_impl =
|
| NavigationHandleImpl::Create(
|
| - url, static_cast<RenderFrameHostImpl*>(render_frame_host)
|
| - ->frame_tree_node(),
|
| + url, std::vector<GURL>(), rfhi->frame_tree_node(),
|
| true, // is_renderer_initiated
|
| is_same_page,
|
| base::TimeTicks::Now(), 0,
|
| false); // started_from_context_menu
|
| - handle_impl->set_render_frame_host(
|
| - static_cast<RenderFrameHostImpl*>(render_frame_host));
|
| + handle_impl->set_render_frame_host(rfhi);
|
| if (error != net::OK)
|
| handle_impl->set_net_error_code(error);
|
| if (committed)
|
|
|