Index: ui/gfx/rect_conversions.h |
diff --git a/ui/gfx/rect_conversions.h b/ui/gfx/rect_conversions.h |
index 854fb6ea3922d38956b5f7cd2cdb6c5a342dbda7..56011fc861c4331c7c0387321ba5b1134cd47b24 100644 |
--- a/ui/gfx/rect_conversions.h |
+++ b/ui/gfx/rect_conversions.h |
@@ -10,6 +10,9 @@ |
namespace gfx { |
+// Returns a rect with a truncated origin, while maintaining the size. |
+UI_EXPORT Rect ToSizedRect(const RectF& rect); |
+ |
kevers
2013/06/06 13:32:33
Don't think this method is used anywhere in the pa
girard
2013/06/10 14:27:56
Agreed. It's gone.
|
// Returns the smallest Rect that encloses the given RectF. |
UI_EXPORT Rect ToEnclosingRect(const RectF& rect); |