Index: chrome/browser/views/sad_tab_view.cc |
=================================================================== |
--- chrome/browser/views/sad_tab_view.cc (revision 50789) |
+++ chrome/browser/views/sad_tab_view.cc (working copy) |
@@ -57,8 +57,9 @@ |
kBackgroundColor, |
kBackgroundEndColor))->safeUnref(); |
paint.setStyle(SkPaint::kFill_Style); |
- canvas->AsCanvasSkia()->drawRectCoords( |
- 0, 0, SkIntToScalar(width()), SkIntToScalar(height()), paint); |
+ canvas->drawRectCoords(0, 0, |
+ SkIntToScalar(width()), SkIntToScalar(height()), |
+ paint); |
canvas->DrawBitmapInt(*sad_tab_bitmap_, icon_bounds_.x(), icon_bounds_.y()); |