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

Unified Diff: ui/gfx/canvas.h

Issue 9332006: ui/gfx: Make the first version of Canvas::TileImageInt take a gfx::Rect. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reland Created 8 years, 10 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.h
diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h
index 61d42a463e4d3b3c3f426c346ddfdd0a5c494781..3ae17ab605d2a392e136f08f25c81717a0d96e3f 100644
--- a/ui/gfx/canvas.h
+++ b/ui/gfx/canvas.h
@@ -197,8 +197,7 @@ class UI_EXPORT Canvas {
virtual void DrawFocusRect(const gfx::Rect& rect) = 0;
// Tiles the image in the specified region.
- virtual void TileImageInt(const SkBitmap& bitmap,
- int x, int y, int w, int h) = 0;
+ virtual void TileImage(const SkBitmap& bitmap, const gfx::Rect& rect) = 0;
virtual void TileImageInt(const SkBitmap& bitmap,
int src_x, int src_y,
int dest_x, int dest_y, int w, int h) = 0;

Powered by Google App Engine
This is Rietveld 408576698