| Index: chrome/browser/views/bubble_border.cc
|
| ===================================================================
|
| --- chrome/browser/views/bubble_border.cc (revision 50661)
|
| +++ chrome/browser/views/bubble_border.cc (working copy)
|
| @@ -6,7 +6,7 @@
|
|
|
| #include "app/resource_bundle.h"
|
| #include "base/logging.h"
|
| -#include "gfx/canvas.h"
|
| +#include "gfx/canvas_skia.h"
|
| #include "gfx/path.h"
|
| #include "grit/theme_resources.h"
|
| #include "third_party/skia/include/core/SkBitmap.h"
|
| @@ -418,7 +418,7 @@
|
| else
|
| path.lineTo(SkIntToScalar(tip_x + shift_x), SkIntToScalar(tip_y - shift_y));
|
| path.close();
|
| - canvas->drawPath(path, paint);
|
| + canvas->AsCanvasSkia()->drawPath(path, paint);
|
| }
|
|
|
| /////////////////////////
|
| @@ -439,5 +439,5 @@
|
| SkIntToScalar(bounds.right()), SkIntToScalar(bounds.bottom()));
|
| SkScalar radius = SkIntToScalar(BubbleBorder::GetCornerRadius());
|
| path.addRoundRect(rect, radius, radius);
|
| - canvas->drawPath(path, paint);
|
| + canvas->AsCanvasSkia()->drawPath(path, paint);
|
| }
|
|
|