| Index: content/public/browser/navigation_handle.cc
|
| diff --git a/content/public/browser/navigation_handle.cc b/content/public/browser/navigation_handle.cc
|
| index c013c0ee19e7ebc8b728856f68cc6483f3a460a0..ec1f0215de682cd248c093e13c2ada4dc342f2e7 100644
|
| --- a/content/public/browser/navigation_handle.cc
|
| +++ b/content/public/browser/navigation_handle.cc
|
| @@ -21,16 +21,18 @@ WebContents* NavigationHandle::GetWebContents() {
|
| }
|
|
|
| // static
|
| -scoped_ptr<NavigationHandle> NavigationHandle::CreateNavigationHandleForTesting(
|
| +std::unique_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(),
|
| - false, // is_synchronous
|
| - false, // is_srcdoc
|
| - base::TimeTicks::Now(), 0);
|
| - return scoped_ptr<NavigationHandle>(std::move(handle_impl));
|
| + std::unique_ptr<NavigationHandleImpl> handle_impl =
|
| + NavigationHandleImpl::Create(
|
| + url, static_cast<RenderFrameHostImpl*>(render_frame_host)
|
| + ->frame_tree_node(),
|
| + false, // is_synchronous
|
| + false, // is_srcdoc
|
| + base::TimeTicks::Now(), 0);
|
| + return std::unique_ptr<NavigationHandle>(std::move(handle_impl));
|
| }
|
|
|
| } // namespace content
|
|
|