Index: components/password_manager/content/browser/content_password_manager_driver_factory.cc |
diff --git a/components/password_manager/content/browser/content_password_manager_driver_factory.cc b/components/password_manager/content/browser/content_password_manager_driver_factory.cc |
index eb9c1b119b918645b273dbc333881b89fc95d494..34ef2831dcec56179bdb4f937dc4771fd11c98be 100644 |
--- a/components/password_manager/content/browser/content_password_manager_driver_factory.cc |
+++ b/components/password_manager/content/browser/content_password_manager_driver_factory.cc |
@@ -51,7 +51,7 @@ void ContentPasswordManagerDriverFactory::CreateForWebContents( |
web_contents->SetUserData( |
kContentPasswordManagerDriverFactoryWebContentsUserDataKey, |
- new_factory.release()); |
+ std::move(new_factory)); |
} |
ContentPasswordManagerDriverFactory::ContentPasswordManagerDriverFactory( |