| Index: ui/gfx/rect_conversions.cc
|
| diff --git a/ui/gfx/rect_conversions.cc b/ui/gfx/rect_conversions.cc
|
| index 265915ae6500a789c73128aa365e31dba17f4968..160c547a737c9d8ec5f1d8dd6f25dda6dcc2edd6 100644
|
| --- a/ui/gfx/rect_conversions.cc
|
| +++ b/ui/gfx/rect_conversions.cc
|
| @@ -28,5 +28,12 @@ Rect ToEnclosedRect(const RectF& rect) {
|
| return Rect(min_x, min_y, width, height);
|
| }
|
|
|
| +Rect ToFlooredRectDeprecated(const RectF& rect) {
|
| + return Rect(ToFlooredInt(rect.origin().x()),
|
| + ToFlooredInt(rect.origin().y()),
|
| + ToFlooredInt(rect.size().width()),
|
| + ToFlooredInt(rect.size().height()));
|
| +}
|
| +
|
| } // namespace gfx
|
|
|
|
|