Index: ash/shell.cc |
diff --git a/ash/shell.cc b/ash/shell.cc |
index 11b3861a31b7cc78069445d521bb5500c53273bc..e853f3d4869698bf37805f1926b9f820ceacca6a 100644 |
--- a/ash/shell.cc |
+++ b/ash/shell.cc |
@@ -376,6 +376,13 @@ void Shell::UpdateShelfVisibility() { |
root->GetRootWindowController()->GetShelf()->UpdateVisibilityState(); |
} |
+PrefService* Shell::GetActiveUserPrefService() const { |
+ if (shell_port_->GetAshConfig() == Config::MASH) |
+ return pref_service_.get(); |
+ |
+ return shell_delegate_->GetActiveUserPrefService(); |
+} |
+ |
WebNotificationTray* Shell::GetWebNotificationTray() { |
return GetPrimaryRootWindowController() |
->GetStatusAreaWidget() |