Index: components/navigation_interception/intercept_navigation_throttle_unittest.cc |
diff --git a/components/navigation_interception/intercept_navigation_throttle_unittest.cc b/components/navigation_interception/intercept_navigation_throttle_unittest.cc |
index 33817bb0d3c86b6242a611cbabcd2a7f85af7658..a32c2fc4429cb5c78dadb97ce5487217c8e5ba35 100644 |
--- a/components/navigation_interception/intercept_navigation_throttle_unittest.cc |
+++ b/components/navigation_interception/intercept_navigation_throttle_unittest.cc |
@@ -65,11 +65,11 @@ class InterceptNavigationThrottleTest |
content::NavigationHandle::CreateNavigationHandleForTesting(url, |
main_rfh()); |
test_handle->RegisterThrottleForTesting( |
- base::WrapUnique(new InterceptNavigationThrottle( |
+ base::MakeUnique<InterceptNavigationThrottle>( |
test_handle.get(), |
base::Bind(&MockInterceptCallbackReceiver::ShouldIgnoreNavigation, |
base::Unretained(mock_callback_receiver_.get())), |
- true))); |
+ true)); |
return test_handle->CallWillStartRequestForTesting( |
is_post, content::Referrer(), false, ui::PAGE_TRANSITION_LINK, false); |
} |
@@ -79,11 +79,11 @@ class InterceptNavigationThrottleTest |
content::NavigationHandle::CreateNavigationHandleForTesting( |
GURL(kTestUrl), main_rfh()); |
test_handle->RegisterThrottleForTesting( |
- base::WrapUnique(new InterceptNavigationThrottle( |
+ base::MakeUnique<InterceptNavigationThrottle>( |
test_handle.get(), |
base::Bind(&MockInterceptCallbackReceiver::ShouldIgnoreNavigation, |
base::Unretained(mock_callback_receiver_.get())), |
- true))); |
+ true)); |
test_handle->CallWillStartRequestForTesting( |
true, content::Referrer(), false, ui::PAGE_TRANSITION_LINK, false); |
return test_handle->CallWillRedirectRequestForTesting(GURL(kTestUrl), false, |