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 6b448f44b1a91504cc91e7766e2648f015241e52..1432e1486c8ca3700e97672df9c4fb657b4d3758 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 |
@@ -115,7 +115,7 @@ void ContentPasswordManagerDriverFactory::DidNavigateAnyFrame( |
void ContentPasswordManagerDriverFactory::TestingSetDriverForFrame( |
content::RenderFrameHost* render_frame_host, |
scoped_ptr<ContentPasswordManagerDriver> driver) { |
- frame_driver_map_[render_frame_host] = driver.Pass(); |
+ frame_driver_map_[render_frame_host] = std::move(driver); |
} |
void ContentPasswordManagerDriverFactory::RequestSendLoggingAvailability() { |