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

Unified Diff: chromeos/network/network_configuration_handler_unittest.cc

Issue 1556773002: Convert Pass()→std::move() in //chromeos (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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: 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());
« no previous file with comments | « chromeos/network/managed_network_configuration_handler_unittest.cc ('k') | chromeos/network/network_device_handler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698