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); |
+ |
// Returns the smallest Rect that encloses the given RectF. |
UI_EXPORT Rect ToEnclosingRect(const RectF& rect); |