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 b2a134d3ca863f303309de9b9203be30a789c192..3cc48e5a26bba1c5a7e32454e03e15450bface2f 100644 |
--- a/chrome/browser/chromeos/login/background_view.cc |
+++ b/chrome/browser/chromeos/login/background_view.cc |
@@ -358,7 +358,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 |
@@ -448,7 +449,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: |