Index: chromeos/network/network_configuration_handler_unittest.cc |
diff --git a/chromeos/network/network_configuration_handler_unittest.cc b/chromeos/network/network_configuration_handler_unittest.cc |
index be4194af9481c17f9cd419e5f837e48e65fa78e5..a5be1956b673500baa423f6492690ade94433a66 100644 |
--- a/chromeos/network/network_configuration_handler_unittest.cc |
+++ b/chromeos/network/network_configuration_handler_unittest.cc |
@@ -188,11 +188,11 @@ class NetworkConfigurationHandlerTest : public testing::Test { |
mock_profile_client_ = new MockShillProfileClient(); |
mock_service_client_ = new MockShillServiceClient(); |
dbus_setter->SetShillManagerClient( |
- scoped_ptr<ShillManagerClient>(mock_manager_client_).Pass()); |
+ scoped_ptr<ShillManagerClient>(mock_manager_client_)); |
dbus_setter->SetShillProfileClient( |
- scoped_ptr<ShillProfileClient>(mock_profile_client_).Pass()); |
+ scoped_ptr<ShillProfileClient>(mock_profile_client_)); |
dbus_setter->SetShillServiceClient( |
- scoped_ptr<ShillServiceClient>(mock_service_client_).Pass()); |
+ scoped_ptr<ShillServiceClient>(mock_service_client_)); |
EXPECT_CALL(*mock_service_client_, GetProperties(_, _)).Times(AnyNumber()); |
EXPECT_CALL(*mock_manager_client_, GetProperties(_)).Times(AnyNumber()); |