Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(477)

Unified Diff: ui/gfx/canvas_skia.h

Issue 9021046: Pass const gfx::Rect& as the first parameter to FillRect. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: one more fix Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/canvas.h ('k') | ui/gfx/canvas_skia.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/canvas_skia.h
diff --git a/ui/gfx/canvas_skia.h b/ui/gfx/canvas_skia.h
index a920c6208ed9d0a90ffbead9d6669b9ed6d93927..9ef4d1dc19f4d9965cbbe32f05a8f31337bf189a 100644
--- a/ui/gfx/canvas_skia.h
+++ b/ui/gfx/canvas_skia.h
@@ -111,12 +111,12 @@ class UI_EXPORT CanvasSkia : 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 FillRect(const SkColor& color, const gfx::Rect& rect) OVERRIDE;
- virtual void FillRect(const SkColor& color,
- const gfx::Rect& rect,
+ virtual void FillRect(const gfx::Rect& rect, const SkColor& color) OVERRIDE;
+ virtual void FillRect(const gfx::Rect& rect,
+ const SkColor& color,
SkXfermode::Mode mode) OVERRIDE;
- virtual void FillRect(const gfx::Brush* brush,
- const gfx::Rect& rect) OVERRIDE;
+ virtual void FillRect(const gfx::Rect& rect,
+ const gfx::Brush* brush) OVERRIDE;
virtual void DrawRect(const gfx::Rect& rect, const SkColor& color) OVERRIDE;
virtual void DrawRect(const gfx::Rect& rect,
const SkColor& color,
« no previous file with comments | « ui/gfx/canvas.h ('k') | ui/gfx/canvas_skia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698