Index: components/gcm_driver/gcm_account_mapper_unittest.cc |
diff --git a/components/gcm_driver/gcm_account_mapper_unittest.cc b/components/gcm_driver/gcm_account_mapper_unittest.cc |
index 58fd82540c071725c1b3ba11bcf904da94592d27..d4f19e8579b69b8449f623906f8553140dcf5675 100644 |
--- a/components/gcm_driver/gcm_account_mapper_unittest.cc |
+++ b/components/gcm_driver/gcm_account_mapper_unittest.cc |
@@ -275,7 +275,7 @@ void GCMAccountMapperTest::Restart() { |
account_mapper_.reset(new GCMAccountMapper(&gcm_driver_)); |
scoped_ptr<base::SimpleTestClock> clock(new base::SimpleTestClock); |
clock_ = clock.get(); |
- account_mapper_->SetClockForTesting(clock.PassAs<base::Clock>()); |
+ account_mapper_->SetClockForTesting(clock.Pass()); |
} |
// Tests the initialization of account mappings (from the store) when empty. |