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

Unified Diff: ui/gfx/canvas.h

Issue 8383028: ui/gfx: Convert Canvas::ClipRectInt() to use gfx::Rect. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo 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
« no previous file with comments | « chrome/browser/ui/views/tabs/base_tab.cc ('k') | ui/gfx/canvas_direct2d.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/canvas.h
diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h
index 221c11cd3b4c0ae83f389a0365314f802996447c..33b9f4e54f1727a4e8ec07f5e6cd03d31c4e31d9 100644
--- a/ui/gfx/canvas.h
+++ b/ui/gfx/canvas.h
@@ -102,7 +102,7 @@ class UI_EXPORT Canvas {
// Wrapper function that takes integer arguments.
// Returns true if the clip is non-empty.
// See clipRect for specifics.
- virtual bool ClipRectInt(int x, int y, int w, int h) = 0;
+ virtual bool ClipRectInt(const gfx::Rect& rect) = 0;
// Wrapper function that takes integer arguments.
// See translate() for specifics.
« no previous file with comments | « chrome/browser/ui/views/tabs/base_tab.cc ('k') | ui/gfx/canvas_direct2d.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698