summaryrefslogtreecommitdiffstats
path: root/ui/gfx/canvas.h
diff options
context:
space:
mode:
authorhbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-08 05:43:31 +0000
committerhbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-08 05:43:31 +0000
commitf2705ac0994dd4eb07ce08c1d70b94a20eae016c (patch)
treefde36dc250d3590ad1e9f8347339ca811742c485 /ui/gfx/canvas.h
parent398e5d1ce15fb26fc8172ba9963b86d9fd6765d5 (diff)
downloadchromium_src-f2705ac0994dd4eb07ce08c1d70b94a20eae016c.zip
chromium_src-f2705ac0994dd4eb07ce08c1d70b94a20eae016c.tar.gz
chromium_src-f2705ac0994dd4eb07ce08c1d70b94a20eae016c.tar.bz2
Speculative Revert 120885 - ui/gfx: Make the first version of Canvas::TileImageInt take a gfx::Rect.
BUG=100898 R=pkasting@chromium.org TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/9332006 TBR=tfarina@chromium.org Review URL: https://chromiumcodereview.appspot.com/9358015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120943 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/canvas.h')
-rw-r--r--ui/gfx/canvas.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h
index 3ae17ab..61d42a4 100644
--- a/ui/gfx/canvas.h
+++ b/ui/gfx/canvas.h
@@ -197,7 +197,8 @@ class UI_EXPORT Canvas {
virtual void DrawFocusRect(const gfx::Rect& rect) = 0;
// Tiles the image in the specified region.
- virtual void TileImage(const SkBitmap& bitmap, const gfx::Rect& rect) = 0;
+ virtual void TileImageInt(const SkBitmap& bitmap,
+ int x, int y, int w, int h) = 0;
virtual void TileImageInt(const SkBitmap& bitmap,
int src_x, int src_y,
int dest_x, int dest_y, int w, int h) = 0;