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

Unified Diff: chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_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/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc b/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc
index 9a97d1ccedfe6d297dfe1d35538a3371394f3da8..343d1232463424c9543511501ca783a00f5fe87f 100644
--- a/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc
+++ b/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc
@@ -69,12 +69,11 @@ class RemoteToLocalSyncerTest : public testing::Test {
kSyncRootFolderTitle));
remote_change_processor_.reset(new FakeRemoteChangeProcessor);
- context_.reset(new SyncEngineContext(
- fake_drive_service.PassAs<drive::DriveServiceInterface>(),
- drive_uploader.Pass(),
- nullptr,
- base::ThreadTaskRunnerHandle::Get(),
- base::ThreadTaskRunnerHandle::Get()));
+ context_.reset(new SyncEngineContext(fake_drive_service.Pass(),
+ drive_uploader.Pass(),
+ nullptr,
+ base::ThreadTaskRunnerHandle::Get(),
+ base::ThreadTaskRunnerHandle::Get()));
context_->SetRemoteChangeProcessor(remote_change_processor_.get());
RegisterSyncableFileSystem();

Powered by Google App Engine
This is Rietveld 408576698