| Index: chrome/browser/ui/gtk/browser_titlebar.cc
|
| diff --git a/chrome/browser/ui/gtk/browser_titlebar.cc b/chrome/browser/ui/gtk/browser_titlebar.cc
|
| index fc31134faf701afc19f41ea13d65d4b10d0d95e4..1d28483032422b219b5ce953915def4c1bc0b863 100644
|
| --- a/chrome/browser/ui/gtk/browser_titlebar.cc
|
| +++ b/chrome/browser/ui/gtk/browser_titlebar.cc
|
| @@ -809,7 +809,11 @@ void BrowserTitlebar::UpdateAvatar() {
|
| Profile* profile = browser_window_->browser()->profile();
|
| size_t index = cache.GetIndexOfProfileWithPath(profile->GetPath());
|
| if (index != std::string::npos) {
|
| - avatar_button_->SetIcon(cache.GetAvatarIconOfProfileAtIndex(index));
|
| + bool is_gaia_picture =
|
| + cache.IsUsingGAIAPictureOfProfileAtIndex(index) &&
|
| + cache.GetGAIAPictureOfProfileAtIndex(index);
|
| + avatar_button_->SetIcon(
|
| + cache.GetAvatarIconOfProfileAtIndex(index), is_gaia_picture);
|
|
|
| BubbleGtk::ArrowLocationGtk arrow_location =
|
| display_avatar_on_left_ ^ base::i18n::IsRTL() ?
|
|
|