| Index: mojo/examples/wm_flow/app/app.cc
|
| diff --git a/mojo/examples/wm_flow/app/app.cc b/mojo/examples/wm_flow/app/app.cc
|
| index d9a8da27b838b3b76ecc1a011d7df03d3676f271..f9e996cd31a324c406440d88bdd8762244892173 100644
|
| --- a/mojo/examples/wm_flow/app/app.cc
|
| +++ b/mojo/examples/wm_flow/app/app.cc
|
| @@ -93,8 +93,10 @@ class WMFlowApp : public mojo::ApplicationDelegate,
|
|
|
| mojo::View* embed = mojo::View::Create(view_manager);
|
| root->AddChild(embed);
|
| - gfx::Rect bounds = gfx::Rect(root->bounds().size());
|
| - bounds.Inset(25, 25);
|
| + mojo::Rect bounds;
|
| + bounds.x = bounds.y = 25;
|
| + bounds.width = root->bounds().width - 50;
|
| + bounds.height = root->bounds().height - 50;
|
| embed->SetBounds(bounds);
|
|
|
| scoped_ptr<mojo::ServiceProviderImpl> registry(
|
|
|