Index: ui/gfx/canvas.cc |
diff --git a/ui/gfx/canvas.cc b/ui/gfx/canvas.cc |
index b2d90aec4189b22975350b0e57b77b7da60858c9..7a206c5e9c6a64744e64d63f40240f306d910388 100644 |
--- a/ui/gfx/canvas.cc |
+++ b/ui/gfx/canvas.cc |
@@ -115,10 +115,6 @@ ImageSkiaRep Canvas::ExtractImageRep() const { |
return ImageSkiaRep(result, image_scale_); |
} |
-void Canvas::DrawDashedRect(const Rect& rect, SkColor color) { |
- DrawDashedRect(RectF(rect), color); |
-} |
- |
void Canvas::DrawDashedRect(const RectF& rect, SkColor color) { |
if (rect.IsEmpty()) |
return; |
@@ -242,18 +238,10 @@ void Canvas::FillRect(const Rect& rect, SkColor color, SkBlendMode mode) { |
DrawRect(rect, flags); |
} |
-void Canvas::DrawRect(const Rect& rect, SkColor color) { |
- DrawRect(RectF(rect), color); |
-} |
- |
void Canvas::DrawRect(const RectF& rect, SkColor color) { |
DrawRect(rect, color, SkBlendMode::kSrcOver); |
} |
-void Canvas::DrawRect(const Rect& rect, SkColor color, SkBlendMode mode) { |
- DrawRect(RectF(rect), color, mode); |
-} |
- |
void Canvas::DrawRect(const RectF& rect, SkColor color, SkBlendMode mode) { |
cc::PaintFlags flags; |
flags.setColor(color); |