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

Unified Diff: chrome/browser/ui/passwords/manage_passwords_bubble_model.h

Issue 1550053002: Convert Pass()→std::move() in //chrome/browser/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: chrome/browser/ui/passwords/manage_passwords_bubble_model.h
diff --git a/chrome/browser/ui/passwords/manage_passwords_bubble_model.h b/chrome/browser/ui/passwords/manage_passwords_bubble_model.h
index e6af1dfe2eb2e8b1b404b81d3b72015a24127f9d..d9a6f7a6926eb4b72f43cd937017a19a99bf6e69 100644
--- a/chrome/browser/ui/passwords/manage_passwords_bubble_model.h
+++ b/chrome/browser/ui/passwords/manage_passwords_bubble_model.h
@@ -5,6 +5,8 @@
#ifndef CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_MODEL_H_
#define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_MODEL_H_
+#include <utility>
+
#include "base/macros.h"
#include "base/memory/scoped_vector.h"
#include "base/time/clock.h"
@@ -142,7 +144,7 @@ class ManagePasswordsBubbleModel : public content::WebContentsObserver {
return dismissal_reason_;
}
- void set_clock(scoped_ptr<base::Clock> clock) { clock_ = clock.Pass(); }
+ void set_clock(scoped_ptr<base::Clock> clock) { clock_ = std::move(clock); }
#endif
private:
« no previous file with comments | « chrome/browser/ui/libgtk2ui/gtk2_ui.cc ('k') | chrome/browser/ui/passwords/manage_passwords_bubble_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698