Index: chrome/browser/views/theme_install_bubble_view.cc |
=================================================================== |
--- chrome/browser/views/theme_install_bubble_view.cc (revision 50789) |
+++ chrome/browser/views/theme_install_bubble_view.cc (working copy) |
@@ -7,7 +7,6 @@ |
#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" |
@@ -126,7 +125,7 @@ |
SkIntToScalar(height())); |
SkPath path; |
path.addRoundRect(rect, rad, SkPath::kCW_Direction); |
- canvas->AsCanvasSkia()->drawPath(path, paint); |
+ canvas->drawPath(path, paint); |
int text_width = views::Label::font().GetStringWidth(text_); |
gfx::Rect body_bounds(kTextHorizPadding / 2, 0, text_width, height()); |