Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(414)

Unified Diff: components/password_manager/content/browser/content_password_manager_driver_factory.cc

Issue 1548203002: Convert Pass()→std::move() in //components/[n-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad headers Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() {

Powered by Google App Engine
This is Rietveld 408576698