Index: ui/gfx/rect_conversions.h |
diff --git a/ui/gfx/rect_conversions.h b/ui/gfx/rect_conversions.h |
index 7c971b3eaa12002d17b42ced90439315c63509b8..f17bd43825e8d220a8d6f2d73cb986c2deb23fca 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); |