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

Unified Diff: ui/views/animation/test/ink_drop_animation_test_api.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
Index: ui/views/animation/test/ink_drop_animation_test_api.cc
diff --git a/ui/views/animation/test/ink_drop_animation_test_api.cc b/ui/views/animation/test/ink_drop_animation_test_api.cc
index b890f46a2ff80c060afb95272fbf36a1a71c3a45..0f86812a42de2a35ead85751c45a0ce92469d3e1 100644
--- a/ui/views/animation/test/ink_drop_animation_test_api.cc
+++ b/ui/views/animation/test/ink_drop_animation_test_api.cc
@@ -15,12 +15,12 @@ InkDropAnimationTestApi::InkDropAnimationTestApi(
InkDropAnimationTestApi::~InkDropAnimationTestApi() {}
void InkDropAnimationTestApi::CalculateCircleTransforms(
- const gfx::SizeF size,
+ const gfx::Size& size,
InkDropTransforms* transforms_out) const {
ink_drop_animation_->CalculateCircleTransforms(size, transforms_out);
}
void InkDropAnimationTestApi::CalculateRectTransforms(
- const gfx::SizeF size,
+ const gfx::Size& size,
float corner_radius,
InkDropTransforms* transforms_out) const {
ink_drop_animation_->CalculateRectTransforms(size, corner_radius,
« no previous file with comments | « ui/views/animation/test/ink_drop_animation_test_api.h ('k') | ui/views/widget/desktop_aura/desktop_screen_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698