Index: components/navigation_interception/intercept_navigation_delegate.cc |
diff --git a/components/navigation_interception/intercept_navigation_delegate.cc b/components/navigation_interception/intercept_navigation_delegate.cc |
index 23dab253b5dabc1fee7a22082763e40ab56bee3e..710c0c782b1ed45cab67e0e1b2c36e8706708051 100644 |
--- a/components/navigation_interception/intercept_navigation_delegate.cc |
+++ b/components/navigation_interception/intercept_navigation_delegate.cc |
@@ -88,8 +88,8 @@ InterceptNavigationDelegate* InterceptNavigationDelegate::Get( |
std::unique_ptr<content::NavigationThrottle> |
InterceptNavigationDelegate::CreateThrottleFor( |
content::NavigationHandle* handle) { |
- return base::WrapUnique(new InterceptNavigationThrottle( |
- handle, base::Bind(&CheckIfShouldIgnoreNavigationOnUIThread), false)); |
+ return base::MakeUnique<InterceptNavigationThrottle>( |
+ handle, base::Bind(&CheckIfShouldIgnoreNavigationOnUIThread), false); |
} |
// static |