Index: chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc |
diff --git a/chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc b/chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc |
index 4d595455763ca94419e5de172d5a7bcfc066bf53..6fceb419dc385a498521d039a97742dd24b345fa 100644 |
--- a/chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc |
+++ b/chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc |
@@ -2,6 +2,9 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h" |
+ |
+#include <utility> |
#include <vector> |
#include "base/metrics/field_trial.h" |
@@ -13,7 +16,6 @@ |
#include "chrome/browser/password_manager/password_store_factory.h" |
#include "chrome/browser/sync/profile_sync_service_factory.h" |
#include "chrome/browser/sync/profile_sync_test_util.h" |
-#include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h" |
#include "chrome/browser/ui/passwords/manage_passwords_ui_controller_mock.h" |
#include "chrome/test/base/testing_profile.h" |
#include "components/browser_sync/browser/profile_sync_service_mock.h" |
@@ -254,7 +256,7 @@ TEST_F(ManagePasswordsBubbleModelTest, CloseWithoutInteraction) { |
scoped_ptr<base::SimpleTestClock> clock(new base::SimpleTestClock); |
base::Time now = base::Time::Now(); |
clock->SetNow(now); |
- model()->set_clock(clock.Pass()); |
+ model()->set_clock(std::move(clock)); |
password_manager::InteractionsStats stats = GetTestStats(); |
stats.dismissal_count++; |
stats.update_time = now; |