Index: chrome/browser/views/theme_install_bubble_view.cc |
=================================================================== |
--- chrome/browser/views/theme_install_bubble_view.cc (revision 50661) |
+++ chrome/browser/views/theme_install_bubble_view.cc (working copy) |
@@ -7,6 +7,7 @@ |
#include "app/l10n_util.h" |
#include "app/resource_bundle.h" |
#include "chrome/browser/tab_contents/tab_contents.h" |
+#include "gfx/canvas_skia.h" |
#include "grit/generated_resources.h" |
#include "views/widget/widget.h" |
@@ -125,7 +126,7 @@ |
SkIntToScalar(height())); |
SkPath path; |
path.addRoundRect(rect, rad, SkPath::kCW_Direction); |
- canvas->drawPath(path, paint); |
+ canvas->AsCanvasSkia()->drawPath(path, paint); |
int text_width = views::Label::font().GetStringWidth(text_); |
gfx::Rect body_bounds(kTextHorizPadding / 2, 0, text_width, height()); |