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

Unified Diff: ui/views/animation/ink_drop_animation_unittest.cc

Issue 1357423009: gfx: Make conversions from Size to SizeF be explicit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sizefconvert-gfx: . Created 5 years, 3 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/views/animation/ink_drop_animation.cc ('k') | ui/views/animation/test/ink_drop_animation_test_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/animation/ink_drop_animation_unittest.cc
diff --git a/ui/views/animation/ink_drop_animation_unittest.cc b/ui/views/animation/ink_drop_animation_unittest.cc
index 478013589e4ee56af4824df932f5a5a6866e1a15..68617ce6ae91d3cd8e67f00c24ce1f1eecc13c10 100644
--- a/ui/views/animation/ink_drop_animation_unittest.cc
+++ b/ui/views/animation/ink_drop_animation_unittest.cc
@@ -114,7 +114,7 @@ TEST_F(InkDropAnimationTest,
InkDropAnimationTestApi::InkDropTransforms transforms;
test_api.CalculateCircleTransforms(
- gfx::SizeF(kTransformedSize, kTransformedSize), &transforms);
+ gfx::Size(kTransformedSize, kTransformedSize), &transforms);
// Transform variables to reduce verbosity of actual verification code.
const gfx::Transform kTopLeftTransform =
@@ -220,7 +220,7 @@ TEST_F(InkDropAnimationTest,
InkDropAnimationTestApi::InkDropTransforms transforms;
test_api.CalculateRectTransforms(
- gfx::SizeF(kTransformedWidth, kTransformedHeight), kTransformedRadius,
+ gfx::Size(kTransformedWidth, kTransformedHeight), kTransformedRadius,
&transforms);
// Transform variables to reduce verbosity of actual verification code.
« no previous file with comments | « ui/views/animation/ink_drop_animation.cc ('k') | ui/views/animation/test/ink_drop_animation_test_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698