Chromium Code Reviews| Index: ui/gfx/rect_conversions.h |
| diff --git a/ui/gfx/rect_conversions.h b/ui/gfx/rect_conversions.h |
| index ddec0b2a321988976b415a759b7e99ce72b5e7d7..c8170cce0acdad9f9671dde7e295ebc907ebf9f0 100644 |
| --- a/ui/gfx/rect_conversions.h |
| +++ b/ui/gfx/rect_conversions.h |
| @@ -16,6 +16,10 @@ UI_EXPORT Rect ToEnclosingRect(const RectF& rect); |
| // Returns the largest Rect that is enclosed by the given RectF. |
| UI_EXPORT Rect ToEnclosedRect(const RectF& rect); |
| +// Returns a Rect obtained by flooring the values of the given RectF. |
| +// Please prefer the previous two functions in new code. |
| +UI_EXPORT Rect ToFlooredRectDeprecated(const RectF& rect); |
|
sky
2012/10/22 15:08:37
If we're going to keep this around, it should not
danakj
2012/10/22 15:13:46
It's funny, there was a thread on chromium-dev abo
|
| + |
| } // namespace gfx |
| #endif // UI_GFX_RECT_CONVERSIONS_H_ |