Index: ui/wm/core/window_animations.cc |
diff --git a/ui/wm/core/window_animations.cc b/ui/wm/core/window_animations.cc |
index 94e32d6b45dfadc2f0edd53b94867b252b24a461..2497ffaecaaf449b4d17db63fcea8f1323fe8f38 100644 |
--- a/ui/wm/core/window_animations.cc |
+++ b/ui/wm/core/window_animations.cc |
@@ -228,7 +228,7 @@ gfx::Rect GetLayerWorldBoundsAfterTransform(ui::Layer* layer, |
gfx::Transform in_world = transform; |
GetTransformRelativeToRoot(layer, &in_world); |
- gfx::RectF transformed = layer->bounds(); |
+ gfx::RectF transformed = gfx::RectF(layer->bounds()); |
in_world.TransformRect(&transformed); |
return gfx::ToEnclosingRect(transformed); |