diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-18 20:20:05 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-18 20:20:05 +0000 |
commit | 55a0ffd864ee04c0b76cbed90cb7f00aabed1192 (patch) | |
tree | 273b8b46bdd8b2fd7974d6f93802f9fa5fbbd79b /gfx/canvas_skia.h | |
parent | 4fa172e6dbd06f6e2c09d51ce4c7cfd9bb2def89 (diff) | |
download | chromium_src-55a0ffd864ee04c0b76cbed90cb7f00aabed1192.zip chromium_src-55a0ffd864ee04c0b76cbed90cb7f00aabed1192.tar.gz chromium_src-55a0ffd864ee04c0b76cbed90cb7f00aabed1192.tar.bz2 |
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
Diffstat (limited to 'gfx/canvas_skia.h')
-rw-r--r-- | gfx/canvas_skia.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/canvas_skia.h b/gfx/canvas_skia.h index 457fa23..27781ff 100644 --- a/gfx/canvas_skia.h +++ b/gfx/canvas_skia.h @@ -91,13 +91,13 @@ class CanvasSkia : public skia::PlatformCanvas, virtual bool ClipRectInt(int x, int y, int w, int h); virtual void TranslateInt(int x, int y); virtual void ScaleInt(int x, int y); - virtual void FillRectInt(int x, int y, int w, int h, const SkPaint& paint); virtual void FillRectInt(const SkColor& color, int x, int y, int w, int h); virtual void FillRectInt(const gfx::Brush* brush, int x, int y, int w, int h); virtual void DrawRectInt(const SkColor& color, int x, int y, int w, int h); virtual void DrawRectInt(const SkColor& color, int x, int y, int w, int h, SkXfermode::Mode mode); + virtual void DrawRectInt(int x, int y, int w, int h, const SkPaint& paint); virtual void DrawLineInt(const SkColor& color, int x1, int y1, int x2, int y2); |