summaryrefslogtreecommitdiffstats
path: root/ui/gfx/canvas_direct2d.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gfx/canvas_direct2d.h')
-rw-r--r--ui/gfx/canvas_direct2d.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/ui/gfx/canvas_direct2d.h b/ui/gfx/canvas_direct2d.h
index dc3cc8d..c5e6ad8 100644
--- a/ui/gfx/canvas_direct2d.h
+++ b/ui/gfx/canvas_direct2d.h
@@ -34,13 +34,12 @@ class UI_EXPORT CanvasDirect2D : public Canvas {
virtual bool ClipRect(const gfx::Rect& rect) OVERRIDE;
virtual void Translate(const gfx::Point& point) OVERRIDE;
virtual void Scale(int x_scale, int y_scale) OVERRIDE;
- virtual void FillRectInt(const SkColor& color,
- int x, int y, int w, int h) OVERRIDE;
- virtual void FillRectInt(const SkColor& color,
- int x, int y, int w, int h,
- SkXfermode::Mode mode) OVERRIDE;
- virtual void FillRectInt(const gfx::Brush* brush,
- int x, int y, int w, int h) OVERRIDE;
+ virtual void FillRect(const SkColor& color, const gfx::Rect& rect) OVERRIDE;
+ virtual void FillRect(const SkColor& color,
+ const gfx::Rect& rect,
+ SkXfermode::Mode mode) OVERRIDE;
+ virtual void FillRect(const gfx::Brush* brush,
+ const gfx::Rect& rect) OVERRIDE;
virtual void DrawRectInt(const SkColor& color,
int x, int y, int w, int h) OVERRIDE;
virtual void DrawRectInt(const SkColor& color,