Index: mojo/ui/associates/test_helpers.h |
diff --git a/mojo/ui/associates/test_helpers.h b/mojo/ui/associates/test_helpers.h |
index c6276a333797e2f23ca8625ae83272643150e871..53e073da4324587bcdcd5144d2f96c0a740090ca 100644 |
--- a/mojo/ui/associates/test_helpers.h |
+++ b/mojo/ui/associates/test_helpers.h |
@@ -18,8 +18,8 @@ void Capture(const base::Closure& quit, T* out, T value) { |
quit.Run(); |
} |
-inline mojo::PointPtr MakePoint(int32_t x, int32_t y) { |
- auto result = mojo::Point::New(); |
+inline mojo::PointFPtr MakePointF(float x, float y) { |
+ auto result = mojo::PointF::New(); |
result->x = x; |
result->y = y; |
return result.Pass(); |