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

Unified Diff: ui/gfx/canvas_skia.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_skia.h
diff --git a/ui/gfx/canvas_skia.h b/ui/gfx/canvas_skia.h
index aee77113f265591252b6f541a884dc76709933be..e8980d0b4bf32c361b12d31bd15bf49526f1d624 100644
--- a/ui/gfx/canvas_skia.h
+++ b/ui/gfx/canvas_skia.h
@@ -157,8 +157,8 @@ class UI_EXPORT CanvasSkia : public Canvas {
const gfx::Rect& display_rect);
#endif
virtual void DrawFocusRect(const gfx::Rect& rect) OVERRIDE;
- virtual void TileImageInt(const SkBitmap& bitmap,
- int x, int y, int w, int h) OVERRIDE;
+ virtual void TileImage(const SkBitmap& bitmap,
+ const gfx::Rect& rect) OVERRIDE;
virtual void TileImageInt(const SkBitmap& bitmap,
int src_x, int src_y,
int dest_x, int dest_y, int w, int h) OVERRIDE;
« no previous file with comments | « ui/gfx/canvas.h ('k') | ui/gfx/canvas_skia.cc » ('j') | ui/views/window/frame_background.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698