Index: chrome/browser/chromeos/login/background_view.cc |
diff --git a/chrome/browser/chromeos/login/background_view.cc b/chrome/browser/chromeos/login/background_view.cc |
index 5d2eb29e681ed2e0c7cb36aa46e05f25622a38fb..9bdf86bfbe848aaeea6d81fb843528e942aaeb3f 100644 |
--- a/chrome/browser/chromeos/login/background_view.cc |
+++ b/chrome/browser/chromeos/login/background_view.cc |
@@ -355,7 +355,8 @@ void BackgroundView::InitInfoLabels() { |
} |
policy::CloudPolicySubsystem* cloud_policy = |
- g_browser_process->browser_policy_connector()->cloud_policy_subsystem(); |
+ g_browser_process->browser_policy_connector()-> |
+ device_cloud_policy_subsystem(); |
if (cloud_policy) { |
// Two-step reset because we want to construct new ObserverRegistrar after |
// destruction of old ObserverRegistrar to avoid DCHECK violation because |
@@ -439,7 +440,7 @@ void BackgroundView::UpdateEnterpriseInfo() { |
std::string status_text; |
policy::CloudPolicySubsystem* cloud_policy_subsystem = |
- policy_connector->cloud_policy_subsystem(); |
+ policy_connector->device_cloud_policy_subsystem(); |
if (cloud_policy_subsystem) { |
switch (cloud_policy_subsystem->state()) { |
case policy::CloudPolicySubsystem::UNENROLLED: |