Index: chrome/browser/profiles/off_the_record_profile_impl.cc |
diff --git a/chrome/browser/profiles/off_the_record_profile_impl.cc b/chrome/browser/profiles/off_the_record_profile_impl.cc |
index a93ea138477b4037f5a91f64e5fcce46c9535f5b..46b7d984b2d235198d4d5a5d06ebd4ba72a9f67c 100644 |
--- a/chrome/browser/profiles/off_the_record_profile_impl.cc |
+++ b/chrome/browser/profiles/off_the_record_profile_impl.cc |
@@ -103,7 +103,7 @@ void OffTheRecordProfileImpl::Init() { |
#if defined(ENABLE_CONFIGURATION_POLICY) && !defined(OS_CHROMEOS) |
// Because UserCloudPolicyManager is in a component, it cannot access |
// GetOriginalProfile. Instead, we have to inject this relation here. |
- policy::UserCloudPolicyManagerFactory::RegisterForOffTheRecordProfile( |
+ policy::UserCloudPolicyManagerFactory::RegisterForOffTheRecordBrowserContext( |
this->GetOriginalProfile(), this); |
#endif |