Index: chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc |
diff --git a/chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc b/chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc |
index 5ffb24ccd04feac38d7edb9cbdf9a870852ed086..135094f53146e758c4c5aa53f4ace469e29ac94c 100644 |
--- a/chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc |
+++ b/chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc |
@@ -557,8 +557,7 @@ class AutomaticProfileResetterTestBase : public testing::Test { |
variation_params)); |
} |
resetter_->Initialize(); |
- resetter_->SetDelegateForTesting( |
- mock_delegate_owned_.PassAs<AutomaticProfileResetterDelegate>()); |
+ resetter_->SetDelegateForTesting(mock_delegate_owned_.Pass()); |
resetter_->SetTaskRunnerForWaitingForTesting(waiting_task_runner_); |
if (!inject_data_through_variation_params_) { |
resetter_->SetProgramForTesting(testing_program_); |