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

Unified Diff: chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc

Issue 660873002: Use scoped_ptr::Pass instead of scoped_ptr::PassAs<T>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months 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/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_);
« no previous file with comments | « chrome/browser/printing/print_view_manager_base.cc ('k') | chrome/browser/profiles/off_the_record_profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698