Index: chromeos/network/managed_network_configuration_handler_unittest.cc |
diff --git a/chromeos/network/managed_network_configuration_handler_unittest.cc b/chromeos/network/managed_network_configuration_handler_unittest.cc |
index e22b161b763073f54f67e0de091bddf7e4954b5f..30b1891dc724132da1c560049fd608be6494e808 100644 |
--- a/chromeos/network/managed_network_configuration_handler_unittest.cc |
+++ b/chromeos/network/managed_network_configuration_handler_unittest.cc |
@@ -236,11 +236,11 @@ class ManagedNetworkConfigurationHandlerTest : public testing::Test { |
mock_profile_client_ = new StrictMock<MockShillProfileClient>(); |
mock_service_client_ = new StrictMock<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_)); |
SetNetworkConfigurationHandlerExpectations(); |