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

Unified Diff: ui/views/animation/test/ink_drop_animation_test_api.h

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.h
diff --git a/ui/views/animation/test/ink_drop_animation_test_api.h b/ui/views/animation/test/ink_drop_animation_test_api.h
index 0b7ccaefa70bc44319c9f9f39e9b8cce9b0a9785..631c328a028e7f210f02ff0160541d302f54bdd8 100644
--- a/ui/views/animation/test/ink_drop_animation_test_api.h
+++ b/ui/views/animation/test/ink_drop_animation_test_api.h
@@ -5,7 +5,7 @@
#ifndef UI_VIEWS_ANIMATION_TEST_INK_DROP_ANIMATION_TEST_API_H_
#define UI_VIEWS_ANIMATION_TEST_INK_DROP_ANIMATION_TEST_API_H_
-#include "ui/gfx/geometry/size_f.h"
+#include "ui/gfx/geometry/size.h"
namespace views {
class InkDropAnimation;
@@ -22,9 +22,9 @@ class InkDropAnimationTestApi {
~InkDropAnimationTestApi();
// Wrapper functions the wrapped InkDropedAnimation:
- void CalculateCircleTransforms(const gfx::SizeF size,
+ void CalculateCircleTransforms(const gfx::Size& size,
InkDropTransforms* transforms_out) const;
- void CalculateRectTransforms(const gfx::SizeF size,
+ void CalculateRectTransforms(const gfx::Size& size,
float corner_radius,
InkDropTransforms* transforms_out) const;
« no previous file with comments | « ui/views/animation/ink_drop_animation_unittest.cc ('k') | ui/views/animation/test/ink_drop_animation_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698