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

Unified Diff: chrome/browser/content_settings/host_content_settings_map_factory.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/content_settings/host_content_settings_map_factory.cc
diff --git a/chrome/browser/content_settings/host_content_settings_map_factory.cc b/chrome/browser/content_settings/host_content_settings_map_factory.cc
index 9767b088d7e082d8d9c5676a3e8f042371e94a94..386c277d856600892a7069382f06bedbdd97bc98 100644
--- a/chrome/browser/content_settings/host_content_settings_map_factory.cc
+++ b/chrome/browser/content_settings/host_content_settings_map_factory.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/content_settings/host_content_settings_map_factory.h"
+#include <utility>
+
#include "chrome/browser/profiles/off_the_record_profile_impl.h"
#include "chrome/browser/profiles/profile.h"
#include "components/content_settings/core/browser/host_content_settings_map.h"
@@ -85,7 +87,7 @@ scoped_refptr<RefcountedKeyedService>
scoped_ptr<content_settings::SupervisedProvider> supervised_provider(
new content_settings::SupervisedProvider(supervised_service));
settings_map->RegisterProvider(HostContentSettingsMap::SUPERVISED_PROVIDER,
- supervised_provider.Pass());
+ std::move(supervised_provider));
}
#endif // defined(ENABLE_SUPERVISED_USERS)

Powered by Google App Engine
This is Rietveld 408576698