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

Unified Diff: chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc

Issue 1551503002: Convert Pass()→std::move() in //chrome (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: chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc
diff --git a/chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc b/chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc
index 24558f5c04468f6d95a8962f48624dbde4caeda3..eb241275ff4fa0b24a03bfb3a506644fee2df68f 100644
--- a/chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc
+++ b/chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc
@@ -176,12 +176,11 @@ class ComponentCloudPolicyTest : public ExtensionBrowserTest {
UserCloudPolicyManagerFactory::GetForBrowserContext(
browser()->profile());
ASSERT_TRUE(policy_manager);
- policy_manager->Connect(
- g_browser_process->local_state(),
- g_browser_process->system_request_context(),
- UserCloudPolicyManager::CreateCloudPolicyClient(
- connector->device_management_service(),
- g_browser_process->system_request_context()).Pass());
+ policy_manager->Connect(g_browser_process->local_state(),
+ g_browser_process->system_request_context(),
+ UserCloudPolicyManager::CreateCloudPolicyClient(
+ connector->device_management_service(),
+ g_browser_process->system_request_context()));
#endif // defined(OS_CHROMEOS)
// Register the cloud policy client.

Powered by Google App Engine
This is Rietveld 408576698