| Index: ui/message_center/views/notification_view.cc
|
| diff --git a/ui/message_center/views/notification_view.cc b/ui/message_center/views/notification_view.cc
|
| index b6e8bcc8d4b96ca9becff7db7025794647d4202b..11b3474f51ad2b3b3e7750cf708bd79a3301a0e6 100644
|
| --- a/ui/message_center/views/notification_view.cc
|
| +++ b/ui/message_center/views/notification_view.cc
|
| @@ -108,7 +108,8 @@ bool HasAlpha(gfx::ImageSkia& image, views::Widget* widget) {
|
| }
|
|
|
| // Extract that bitmap's alpha and look for a non-opaque pixel there.
|
| - SkBitmap bitmap = image.GetRepresentation(factor).sk_bitmap();
|
| + SkBitmap bitmap =
|
| + image.GetRepresentation(ui::GetImageScale(factor)).sk_bitmap();
|
| if (!bitmap.isNull()) {
|
| SkBitmap alpha;
|
| alpha.setConfig(SkBitmap::kA1_Config, bitmap.width(), bitmap.height(), 0);
|
|
|