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

Unified Diff: chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc

Issue 1552863003: Global conversion of Pass()→std::move(): CrOS edition (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
« no previous file with comments | « chrome/browser/policy/policy_browsertest.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
diff --git a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
index 0cbefeba6d443aa39ba823aabe7411280c5796f7..ab7e8b906b34db5d3841eeedee079dcb0f90507e 100644
--- a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
+++ b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.h"
+#include <utility>
+
#include "build/build_config.h"
#include "chrome/browser/autocomplete/in_memory_url_index_factory.h"
#include "chrome/browser/autocomplete/shortcuts_backend_factory.h"
@@ -263,12 +265,12 @@ EnsureBrowserContextKeyedServiceFactoriesBuilt() {
new extensions::NetworkingPrivateVerifyDelegateFactoryImpl);
extensions::NetworkingPrivateDelegateFactory::GetInstance()
->SetVerifyDelegateFactory(
- networking_private_verify_delegate_factory.Pass());
+ std::move(networking_private_verify_delegate_factory));
scoped_ptr<extensions::NetworkingPrivateUIDelegateFactoryImpl>
networking_private_ui_delegate_factory(
new extensions::NetworkingPrivateUIDelegateFactoryImpl);
extensions::NetworkingPrivateDelegateFactory::GetInstance()
- ->SetUIDelegateFactory(networking_private_ui_delegate_factory.Pass());
+ ->SetUIDelegateFactory(std::move(networking_private_ui_delegate_factory));
#endif
#endif
#if !defined(OS_ANDROID)
« no previous file with comments | « chrome/browser/policy/policy_browsertest.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698