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

Unified Diff: chrome/browser/prefs/active_profile_pref_service.cc

Issue 2802093005: Have ActiveProfilePrefService Use the Original Profile (Closed)
Patch Set: Created 3 years, 8 months 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 | « ash/shell.cc ('k') | content/common/service_manager/service_manager_connection_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prefs/active_profile_pref_service.cc
diff --git a/chrome/browser/prefs/active_profile_pref_service.cc b/chrome/browser/prefs/active_profile_pref_service.cc
index bafda8eec02a600352f9a6c2aeb2cab083366c2d..b50842925856741a06ab0fead1cd8fb2d4e264d9 100644
--- a/chrome/browser/prefs/active_profile_pref_service.cc
+++ b/chrome/browser/prefs/active_profile_pref_service.cc
@@ -19,7 +19,7 @@ void ActiveProfilePrefService::Connect(
const std::vector<PrefValueStore::PrefStoreType>& already_connected_types,
const ConnectCallback& callback) {
auto* connector = content::BrowserContext::GetConnectorFor(
- ProfileManager::GetActiveUserProfile());
+ ProfileManager::GetActiveUserProfile()->GetOriginalProfile());
connector->BindInterface(prefs::mojom::kServiceName, &connector_ptr_);
connector_ptr_.set_connection_error_handler(base::Bind(
&ActiveProfilePrefService::OnConnectError, base::Unretained(this)));
« no previous file with comments | « ash/shell.cc ('k') | content/common/service_manager/service_manager_connection_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698