diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-08 01:01:36 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-08 01:01:36 +0000 |
commit | d36f141ad941e3602a90e7e6917d31a5ace804b3 (patch) | |
tree | 2809f2671b23d12b98df8bbb747c092c97afc763 /ui/gfx/canvas.h | |
parent | 5720225ccf919ba3fa7a01d6abbc559af50f746e (diff) | |
download | chromium_src-d36f141ad941e3602a90e7e6917d31a5ace804b3.zip chromium_src-d36f141ad941e3602a90e7e6917d31a5ace804b3.tar.gz chromium_src-d36f141ad941e3602a90e7e6917d31a5ace804b3.tar.bz2 |
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
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120885 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/canvas.h')
-rw-r--r-- | ui/gfx/canvas.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h index 61d42a4..3ae17ab 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; |