From 55a0ffd864ee04c0b76cbed90cb7f00aabed1192 Mon Sep 17 00:00:00 2001 From: "pkasting@chromium.org" Date: Wed, 18 Aug 2010 20:20:05 +0000 Subject: Convert FillRect(... SkPaint) to DrawRect() since it doesn't necessarily fill, it just draws with the provided paint. BUG=none TEST=none Review URL: http://codereview.chromium.org/3165032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56589 0039d316-1c4b-4281-b951-d872f2087c98 --- gfx/canvas_direct2d.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gfx/canvas_direct2d.cc') diff --git a/gfx/canvas_direct2d.cc b/gfx/canvas_direct2d.cc index 0908802..3dfcc851 100644 --- a/gfx/canvas_direct2d.cc +++ b/gfx/canvas_direct2d.cc @@ -202,11 +202,6 @@ void CanvasDirect2D::ScaleInt(int x, int y) { rt_->SetTransform(transform); } -void CanvasDirect2D::FillRectInt(int x, int y, int w, int h, - const SkPaint& paint) { - NOTIMPLEMENTED(); -} - void CanvasDirect2D::FillRectInt(const SkColor& color, int x, int y, int w, int h) { ScopedComPtr solid_brush; @@ -233,6 +228,11 @@ void CanvasDirect2D::DrawRectInt(const SkColor& color, NOTIMPLEMENTED(); } +void CanvasDirect2D::DrawRectInt(int x, int y, int w, int h, + const SkPaint& paint) { + NOTIMPLEMENTED(); +} + void CanvasDirect2D::DrawLineInt(const SkColor& color, int x1, int y1, int x2, int y2) { -- cgit v1.1