summaryrefslogtreecommitdiff
path: root/chromium/components/navigation_interception/intercept_navigation_throttle_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/navigation_interception/intercept_navigation_throttle_unittest.cc')
-rw-r--r--chromium/components/navigation_interception/intercept_navigation_throttle_unittest.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chromium/components/navigation_interception/intercept_navigation_throttle_unittest.cc b/chromium/components/navigation_interception/intercept_navigation_throttle_unittest.cc
index 33817bb0d3c..a32c2fc4429 100644
--- a/chromium/components/navigation_interception/intercept_navigation_throttle_unittest.cc
+++ b/chromium/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,