| Index: mojo/examples/aura_demo/aura_demo.cc
|
| diff --git a/mojo/examples/aura_demo/aura_demo.cc b/mojo/examples/aura_demo/aura_demo.cc
|
| index 1cf80770978889fea4c697663f195619048508c8..0b7c759229bf1629d4ddd2a5212c33f8fc30467b 100644
|
| --- a/mojo/examples/aura_demo/aura_demo.cc
|
| +++ b/mojo/examples/aura_demo/aura_demo.cc
|
| @@ -139,7 +139,8 @@ class AuraDemo : public ShellClient {
|
|
|
| private:
|
| void HostContextCreated() {
|
| - aura::RootWindow::CreateParams params(gfx::Rect(0, 0, 500, 500));
|
| + aura::RootWindow::CreateParams params(
|
| + gfx::Rect(root_window_host_->bounds().size()));
|
| params.host = root_window_host_.get();
|
| root_window_.reset(new aura::RootWindow(params));
|
| root_window_host_->set_delegate(root_window_.get());
|
|
|