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

Unified Diff: chrome/browser/sync/glue/sync_backend_host_impl_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/glue/sync_backend_host_impl_unittest.cc
diff --git a/chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc b/chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc
index 934550b10939928a592b64f3084b627ac0b6acd6..5f42931129444da8844890ce0846015873db77e5 100644
--- a/chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc
+++ b/chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc
@@ -216,9 +216,8 @@ class SyncBackendHostTest : public testing::Test {
GURL(std::string()),
credentials_,
true,
- fake_manager_factory_.PassAs<syncer::SyncManagerFactory>(),
- scoped_ptr<syncer::UnrecoverableErrorHandler>(
- new syncer::TestUnrecoverableErrorHandler).Pass(),
+ fake_manager_factory_.Pass(),
+ make_scoped_ptr(new syncer::TestUnrecoverableErrorHandler),
NULL,
network_resources_.get());
base::RunLoop run_loop;

Powered by Google App Engine
This is Rietveld 408576698