| Index: mojo/examples/nesting_app/nesting_app.cc
|
| diff --git a/mojo/examples/nesting_app/nesting_app.cc b/mojo/examples/nesting_app/nesting_app.cc
|
| index 4473d6f7c9367dfc187cad427426743bf7ea9423..7d281e4f9aaea9019c8e976f637c7ef231c73954 100644
|
| --- a/mojo/examples/nesting_app/nesting_app.cc
|
| +++ b/mojo/examples/nesting_app/nesting_app.cc
|
| @@ -69,7 +69,10 @@ class NestingApp
|
|
|
| nested_ = View::Create(view_manager);
|
| root->AddChild(nested_);
|
| - nested_->SetBounds(gfx::Rect(20, 20, 50, 50));
|
| + Rect rect;
|
| + rect.x = rect.y = 20;
|
| + rect.width = rect.height = 50;
|
| + nested_->SetBounds(rect);
|
| nested_->Embed(kEmbeddedAppURL);
|
| }
|
| virtual void OnViewManagerDisconnected(ViewManager* view_manager) override {
|
|
|