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

Unified Diff: ui/gfx/skia_util.h

Issue 11410025: ui: Add SkIRectToRect() function to convert from SkIRect type to gfx::Rect. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 1 month 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 | « cc/region.cc ('k') | ui/gfx/skia_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/skia_util.h
diff --git a/ui/gfx/skia_util.h b/ui/gfx/skia_util.h
index f9e95a0c795076d3262e9cf450964a5c59ac7c71..c5dfe6367d8a94859c190bc04236cc45b6ee0f74 100644
--- a/ui/gfx/skia_util.h
+++ b/ui/gfx/skia_util.h
@@ -24,9 +24,10 @@ class Rect;
class ShadowValue;
// Convert between Skia and gfx rect types.
-UI_EXPORT SkRect RectToSkRect(const gfx::Rect& rect);
-UI_EXPORT SkIRect RectToSkIRect(const gfx::Rect& rect);
-UI_EXPORT gfx::Rect SkRectToRect(const SkRect& rect);
+UI_EXPORT SkRect RectToSkRect(const Rect& rect);
+UI_EXPORT SkIRect RectToSkIRect(const Rect& rect);
+UI_EXPORT Rect SkRectToRect(const SkRect& rect);
+UI_EXPORT Rect SkIRectToRect(const SkIRect& rect);
// Creates a bitmap shader for the image rep with the image rep's scale factor.
// Sets the created shader's local matrix such that it displays the image rep at
« no previous file with comments | « cc/region.cc ('k') | ui/gfx/skia_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698