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 d9bb3246edbd146e0a0bd09dbdedbf386a0006be..5c897e6a7baf8a5a204f0c850949a7adb71f9b4b 100644 |
--- a/chrome/browser/ui/passwords/manage_passwords_bubble_model.h |
+++ b/chrome/browser/ui/passwords/manage_passwords_bubble_model.h |
@@ -111,7 +111,9 @@ class ManagePasswordsBubbleModel : public content::WebContentsObserver { |
return dismissal_reason_; |
} |
- void set_clock(scoped_ptr<base::Clock> clock) { clock_ = std::move(clock); } |
+ void set_clock(std::unique_ptr<base::Clock> clock) { |
+ clock_ = std::move(clock); |
+ } |
#endif |
private: |
@@ -149,7 +151,7 @@ class ManagePasswordsBubbleModel : public content::WebContentsObserver { |
password_manager::InteractionsStats interaction_stats_; |
// Used to retrieve the current time, in base::Time units. |
- scoped_ptr<base::Clock> clock_; |
+ std::unique_ptr<base::Clock> clock_; |
DISALLOW_COPY_AND_ASSIGN(ManagePasswordsBubbleModel); |
}; |