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

Unified Diff: mojo/ui/associates/test_helpers.h

Issue 1782733002: Mozart: The great RectF-ication. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-9
Patch Set: rebase Created 4 years, 9 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 | « mojo/ui/associates/mock_hit_tester.cc ('k') | mojo/ui/associates/view_tree_hit_tester_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « mojo/ui/associates/mock_hit_tester.cc ('k') | mojo/ui/associates/view_tree_hit_tester_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698