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 710c0c782b1ed45cab67e0e1b2c36e8706708051..b8cd316f64bc5d0c91d8a77c127166f7bfe252b2 100644 |
--- a/components/navigation_interception/intercept_navigation_delegate.cc |
+++ b/components/navigation_interception/intercept_navigation_delegate.cc |
@@ -74,7 +74,7 @@ void InterceptNavigationDelegate::Associate( |
WebContents* web_contents, |
std::unique_ptr<InterceptNavigationDelegate> delegate) { |
web_contents->SetUserData(kInterceptNavigationDelegateUserDataKey, |
- delegate.release()); |
+ std::move(delegate)); |
} |
// static |