Index: ui/views/bubble/bubble_border.cc |
diff --git a/ui/views/bubble/bubble_border.cc b/ui/views/bubble/bubble_border.cc |
index d7adfb6573033016bf9b140d09c01aebb5e7db3d..0fd0e3cebc663746f79557e8902d71767b92c8e7 100644 |
--- a/ui/views/bubble/bubble_border.cc |
+++ b/ui/views/bubble/bubble_border.cc |
@@ -351,9 +351,7 @@ void BubbleBackground::Paint(gfx::Canvas* canvas, views::View* view) const { |
gfx::Rect bounds(view->GetLocalBounds()); |
bounds.Inset(border_->GetInsets()); |
- SkScalar radius = SkIntToScalar(border_->GetBorderCornerRadius()); |
- path.addRoundRect(gfx::RectToSkRect(bounds), radius, radius); |
- canvas->DrawPath(path, paint); |
+ canvas->DrawRoundRect(bounds, border_->GetBorderCornerRadius(), paint); |
} |
} // namespace views |