| Index: chrome/browser/ui/views/profiles/avatar_menu_button.cc
|
| diff --git a/chrome/browser/ui/views/profiles/avatar_menu_button.cc b/chrome/browser/ui/views/profiles/avatar_menu_button.cc
|
| index 9d26f7076e7fafce1b5ce9330f78af96d7481208..5cf496fce62235746a4376617978538b2164cf64 100644
|
| --- a/chrome/browser/ui/views/profiles/avatar_menu_button.cc
|
| +++ b/chrome/browser/ui/views/profiles/avatar_menu_button.cc
|
| @@ -63,8 +63,8 @@ void AvatarMenuButton::OnPaint(gfx::Canvas* canvas) {
|
|
|
| if (old_height_ != height() || button_icon_.isNull()) {
|
| old_height_ = height();
|
| - button_icon_ = *profiles::GetAvatarIconForTitleBar(
|
| - *icon_, is_rectangle_, width(), height()).ToImageSkia();
|
| + button_icon_ = profiles::GetAvatarIconForTitleBar(
|
| + *icon_, is_rectangle_, width(), height()).AsImageSkia();
|
| }
|
|
|
| // Scale the image to fit the width of the button.
|
|
|