| Index: views/controls/menu/menu_win.cc
|
| ===================================================================
|
| --- views/controls/menu/menu_win.cc (revision 85672)
|
| +++ views/controls/menu/menu_win.cc (working copy)
|
| @@ -188,9 +188,11 @@
|
| gfx::CanvasSkia canvas(data->icon.width(), data->icon.height(), false);
|
| canvas.drawColor(SK_ColorBLACK, SkXfermode::kClear_Mode);
|
| canvas.DrawBitmapInt(data->icon, 0, 0);
|
| - canvas.getTopPlatformDevice().drawToHDC(hDC, lpdis->rcItem.left +
|
| - kItemLeftMargin, lpdis->rcItem.top + (lpdis->rcItem.bottom -
|
| - lpdis->rcItem.top - data->icon.height()) / 2, NULL);
|
| + skia::platform_util::DrawToHDC(
|
| + &canvas.getTopDevice(), hDC,
|
| + lpdis->rcItem.left + kItemLeftMargin,
|
| + lpdis->rcItem.top + (lpdis->rcItem.bottom - lpdis->rcItem.top -
|
| + data->icon.height()) / 2, NULL);
|
| }
|
|
|
| } else {
|
|
|