| Index: ash/common/system/user/tray_user.cc
|
| diff --git a/ash/common/system/user/tray_user.cc b/ash/common/system/user/tray_user.cc
|
| index 98f009e95588162ee4901b0c52f454f171d289cf..d894eb83df66a65fc69f3551d85c76a5cc73459e 100644
|
| --- a/ash/common/system/user/tray_user.cc
|
| +++ b/ash/common/system/user/tray_user.cc
|
| @@ -22,6 +22,7 @@
|
| #include "components/user_manager/user_info.h"
|
| #include "grit/ash_strings.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| +#include "ui/compositor/layer_type.h"
|
| #include "ui/gfx/image/image.h"
|
| #include "ui/views/border.h"
|
| #include "ui/views/controls/label.h"
|
| @@ -158,7 +159,7 @@ void TrayUser::UpdateAfterLoginStatusChange(LoginStatus status) {
|
| if (need_avatar) {
|
| avatar_ = new tray::RoundedImageView(kTrayRoundedBorderRadius, true);
|
| if (MaterialDesignController::IsShelfMaterial()) {
|
| - avatar_->SetPaintToLayer(true);
|
| + avatar_->SetPaintToLayer(ui::LAYER_TEXTURED);
|
| avatar_->layer()->SetFillsBoundsOpaquely(false);
|
| }
|
| layout_view_->AddChildView(avatar_);
|
|
|