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

Unified Diff: examples/ui/spinning_cube/spinning_cube_view.cc

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 | « examples/ui/shapes/shapes_view.cc ('k') | examples/ui/tile/tile_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/ui/spinning_cube/spinning_cube_view.cc
diff --git a/examples/ui/spinning_cube/spinning_cube_view.cc b/examples/ui/spinning_cube/spinning_cube_view.cc
index fbf92ea0ba3f3e9eee50133cd9a73a67658f3f8d..e0dc91cca66be2bed7a96c74e5da3f788e603311 100644
--- a/examples/ui/spinning_cube/spinning_cube_view.cc
+++ b/examples/ui/spinning_cube/spinning_cube_view.cc
@@ -149,7 +149,7 @@ void SpinningCubeView::OnDraw(
cube_.UpdateForTimeDelta(time_delta.InSecondsF());
// Update the contents of the scene.
- mojo::Rect bounds;
+ mojo::RectF bounds;
bounds.width = size_.width;
bounds.height = size_.height;
« no previous file with comments | « examples/ui/shapes/shapes_view.cc ('k') | examples/ui/tile/tile_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698