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

Unified Diff: ui/gfx/canvas_skia.h

Issue 8359029: ui/gfx: Convert Canvas::DrawFocusRect() to use gfx::Rect. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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
Index: ui/gfx/canvas_skia.h
diff --git a/ui/gfx/canvas_skia.h b/ui/gfx/canvas_skia.h
index b315af95d15924d7bf02baa86b28a0af9f845a32..aa9ebe2f17046730328d1e8ff91b78b8dd3deeeb 100644
--- a/ui/gfx/canvas_skia.h
+++ b/ui/gfx/canvas_skia.h
@@ -152,7 +152,7 @@ class UI_EXPORT CanvasSkia : public Canvas {
const SkColor& color,
const gfx::Rect& display_rect);
#endif
- virtual void DrawFocusRect(int x, int y, int width, int height);
+ virtual void DrawFocusRect(const gfx::Rect& rect);
virtual void TileImageInt(const SkBitmap& bitmap, int x, int y, int w, int h);
virtual void TileImageInt(const SkBitmap& bitmap,
int src_x, int src_y,

Powered by Google App Engine
This is Rietveld 408576698