Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: ui/wm/core/window_animations.cc

Issue 1302233006: aura: Stop converting Rect to RectF implicitly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rectfconvert-aura: . Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/wm/core/image_grid.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « ui/wm/core/image_grid.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698