Index: content/public/browser/navigation_handle.cc |
diff --git a/content/public/browser/navigation_handle.cc b/content/public/browser/navigation_handle.cc |
index 4926947a2e926cde7b3f25ea96bc20ae22680377..ae87989c1a4ea187ab632fdf982c9f3df69baa19 100644 |
--- a/content/public/browser/navigation_handle.cc |
+++ b/content/public/browser/navigation_handle.cc |
@@ -24,10 +24,10 @@ WebContents* NavigationHandle::GetWebContents() { |
scoped_ptr<NavigationHandle> NavigationHandle::CreateNavigationHandleForTesting( |
const GURL& url, |
RenderFrameHost* render_frame_host) { |
- scoped_ptr<NavigationHandleImpl> handle_impl = NavigationHandleImpl::Create( |
- url, |
- static_cast<RenderFrameHostImpl*>(render_frame_host)->frame_tree_node(), |
- base::TimeTicks::Now()); |
+ FrameTreeNode* node = |
+ static_cast<RenderFrameHostImpl*>(render_frame_host)->frame_tree_node(); |
+ scoped_ptr<NavigationHandleImpl> handle_impl = |
+ NavigationHandleImpl::Create(url, node, base::TimeTicks::Now(), 0); |
return scoped_ptr<NavigationHandle>(std::move(handle_impl)); |
} |