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

Unified Diff: chromeos/network/managed_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/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();

Powered by Google App Engine
This is Rietveld 408576698