| 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 43cf4e5e5ae68b138ca77436799f8a3f9a4122a6..616c78c873059590fc0c43233b2eb2e432e2b006 100644
|
| --- a/ui/message_center/views/notification_view.cc
|
| +++ b/ui/message_center/views/notification_view.cc
|
| @@ -104,7 +104,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::GetScaleFactorScale(factor)).sk_bitmap();
|
| if (!bitmap.isNull()) {
|
| SkBitmap alpha;
|
| alpha.setConfig(SkBitmap::kA1_Config, bitmap.width(), bitmap.height(), 0);
|
|
|