| Index: chrome/browser/ui/webui/chromeos/login/user_board_screen_handler.cc
|
| diff --git a/chrome/browser/ui/webui/chromeos/login/user_board_screen_handler.cc b/chrome/browser/ui/webui/chromeos/login/user_board_screen_handler.cc
|
| index 0fca4ef2f4634c396537aa7a597cb278e4acaa4b..608414aff573b3a1020caa6735351190ad8aea05 100644
|
| --- a/chrome/browser/ui/webui/chromeos/login/user_board_screen_handler.cc
|
| +++ b/chrome/browser/ui/webui/chromeos/login/user_board_screen_handler.cc
|
| @@ -71,8 +71,13 @@ void UserBoardScreenHandler::ShowBannerMessage(const base::string16& message) {
|
|
|
| void UserBoardScreenHandler::ShowUserPodCustomIcon(
|
| const AccountId& account_id,
|
| - const base::DictionaryValue& icon) {
|
| - CallJS("login.AccountPickerScreen.showUserPodCustomIcon", account_id, icon);
|
| + const proximity_auth::ScreenlockBridge::UserPodCustomIconOptions&
|
| + icon_options) {
|
| + std::unique_ptr<base::DictionaryValue> icon =
|
| + icon_options.ToDictionaryValue();
|
| + if (!icon || icon->empty())
|
| + return;
|
| + CallJS("login.AccountPickerScreen.showUserPodCustomIcon", account_id, *icon);
|
| }
|
|
|
| void UserBoardScreenHandler::HideUserPodCustomIcon(
|
|
|