| Index: ash/common/system/user/rounded_image_view.cc
|
| diff --git a/ash/common/system/user/rounded_image_view.cc b/ash/common/system/user/rounded_image_view.cc
|
| index d90df62703f1150bea989a84d8f087f44f9abfce..d7717b857464714fb7897641ecdafcaa52d93f8f 100644
|
| --- a/ash/common/system/user/rounded_image_view.cc
|
| +++ b/ash/common/system/user/rounded_image_view.cc
|
| @@ -63,14 +63,14 @@ void RoundedImageView::OnPaint(gfx::Canvas* canvas) {
|
| SkIntToScalar(corner_radius_[3]), SkIntToScalar(corner_radius_[3])};
|
| SkPath path;
|
| path.addRoundRect(gfx::RectToSkRect(image_bounds), kRadius);
|
| - cc::PaintFlags paint;
|
| - paint.setAntiAlias(true);
|
| + cc::PaintFlags flags;
|
| + flags.setAntiAlias(true);
|
| const bool grayscale =
|
| !active_user_ && !MaterialDesignController::IsSystemTrayMenuMaterial();
|
| - paint.setBlendMode(grayscale ? SkBlendMode::kLuminosity
|
| + flags.setBlendMode(grayscale ? SkBlendMode::kLuminosity
|
| : SkBlendMode::kSrcOver);
|
| canvas->DrawImageInPath(resized_, image_bounds.x(), image_bounds.y(), path,
|
| - paint);
|
| + flags);
|
| }
|
|
|
| } // namespace tray
|
|
|