Index: chrome/browser/sync/sync_ui_util.cc |
diff --git a/chrome/browser/sync/sync_ui_util.cc b/chrome/browser/sync/sync_ui_util.cc |
index 5c55de96ab14e5850c78aff8d2bb27cee3a52486..ca2e8ecec0efc9700c3e37c4b2f0891c55182d71 100644 |
--- a/chrome/browser/sync/sync_ui_util.cc |
+++ b/chrome/browser/sync/sync_ui_util.cc |
@@ -35,7 +35,6 @@ |
#include "ui/base/l10n/l10n_util.h" |
#if defined(OS_CHROMEOS) |
-#include "components/signin/core/account_id/account_id.h" |
#include "components/user_manager/user_manager.h" |
#endif // defined(OS_CHROMEOS) |
@@ -64,7 +63,7 @@ |
// On CrOS user email is sanitized and then passed to the signin manager. |
// Original email (containing dots) is stored as "display email". |
user_display_name = user_manager::UserManager::Get()->GetUserDisplayEmail( |
- AccountId::FromUserEmail(user_display_name)); |
+ user_display_name); |
} |
#endif // defined(OS_CHROMEOS) |