Chromium Code Reviews| Index: ash/wm/image_grid.cc |
| diff --git a/ash/wm/image_grid.cc b/ash/wm/image_grid.cc |
| index facd566666da27a6a31c0ac96026a9b03d7348b6..d61c7571ea7f209750c3b46999d795ac6af25163 100644 |
| --- a/ash/wm/image_grid.cc |
| +++ b/ash/wm/image_grid.cc |
| @@ -21,9 +21,9 @@ namespace internal { |
| gfx::Rect ImageGrid::TestAPI::GetTransformedLayerBounds( |
| const ui::Layer& layer) { |
| - gfx::Rect bounds = layer.bounds(); |
| + gfx::RectF bounds = layer.bounds(); |
|
danakj
2012/11/01 00:59:23
I think this change isn't needed anymore?
|
| layer.transform().TransformRect(&bounds); |
| - return bounds; |
| + return gfx::ToFlooredRectDeprecated(bounds); |
| } |
| ImageGrid::ImageGrid() |