Index: ash/wm/image_grid.cc |
diff --git a/ash/wm/image_grid.cc b/ash/wm/image_grid.cc |
index facd566666da27a6a31c0ac96026a9b03d7348b6..369ab8289d41acd5dd015f9d0a491eb75c90bbd1 100644 |
--- a/ash/wm/image_grid.cc |
+++ b/ash/wm/image_grid.cc |
@@ -11,6 +11,7 @@ |
#include "ui/gfx/canvas.h" |
#include "ui/gfx/image/image.h" |
#include "ui/gfx/rect.h" |
+#include "ui/gfx/rect_conversions.h" |
#include "ui/gfx/transform.h" |
using std::max; |
@@ -19,9 +20,9 @@ using std::min; |
namespace ash { |
namespace internal { |
-gfx::Rect ImageGrid::TestAPI::GetTransformedLayerBounds( |
+gfx::RectF ImageGrid::TestAPI::GetTransformedLayerBounds( |
const ui::Layer& layer) { |
- gfx::Rect bounds = layer.bounds(); |
+ gfx::RectF bounds = layer.bounds(); |
layer.transform().TransformRect(&bounds); |
return bounds; |
} |