Index: chrome/browser/chromeos/policy/device_local_account_policy_service.cc |
diff --git a/chrome/browser/chromeos/policy/device_local_account_policy_service.cc b/chrome/browser/chromeos/policy/device_local_account_policy_service.cc |
index 9892b6043ee6d8db444572b575e15ae8e6b5ec33..df918a8701f2c3edabe8b145021a0867cd81794f 100644 |
--- a/chrome/browser/chromeos/policy/device_local_account_policy_service.cc |
+++ b/chrome/browser/chromeos/policy/device_local_account_policy_service.cc |
@@ -171,8 +171,8 @@ void DeviceLocalAccountPolicyService::UpdateAccountList( |
entry->type() == |
em::DeviceLocalAccountInfoProto::ACCOUNT_TYPE_PUBLIC_SESSION) { |
account_id = entry->account_id(); |
- } else if (entry->has_id()) { |
- account_id = entry->id(); |
+ } else if (entry->has_deprecated_public_session_id()) { |
+ account_id = entry->deprecated_public_session_id(); |
} |
if (account_id.empty()) |