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

Unified Diff: examples/ui/shapes/shapes_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/png_viewer/png_viewer.cc ('k') | examples/ui/spinning_cube/spinning_cube_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/ui/shapes/shapes_view.cc
diff --git a/examples/ui/shapes/shapes_view.cc b/examples/ui/shapes/shapes_view.cc
index 1a6803bfd4e7b2de93cb120ab6ca9bab00acf4a7..58d1bcd36ad1e91bde6e52f20610cac2d586ea55 100644
--- a/examples/ui/shapes/shapes_view.cc
+++ b/examples/ui/shapes/shapes_view.cc
@@ -40,7 +40,7 @@ void ShapesView::OnLayout(mojo::ui::ViewLayoutParamsPtr layout_params,
}
void ShapesView::UpdateScene() {
- mojo::Rect bounds;
+ mojo::RectF bounds;
bounds.width = size_.width;
bounds.height = size_.height;
« no previous file with comments | « examples/ui/png_viewer/png_viewer.cc ('k') | examples/ui/spinning_cube/spinning_cube_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698