Index: content/shell/minimal_ash.cc |
diff --git a/content/shell/minimal_ash.cc b/content/shell/minimal_ash.cc |
index e1ff94abd8d95b426521059c8a7c93b9ae8d9c96..ccda9fe4082ae7ec14c4d1014f305da992ca6c39 100644 |
--- a/content/shell/minimal_ash.cc |
+++ b/content/shell/minimal_ash.cc |
@@ -13,9 +13,11 @@ |
namespace content { |
-MinimalAsh::MinimalAsh() { |
+MinimalAsh::MinimalAsh(gfx::Size default_window_size) { |
root_window_.reset(new aura::RootWindow( |
- aura::RootWindow::CreateParams(gfx::Rect(100, 100)))); |
+ aura::RootWindow::CreateParams( |
+ gfx::Rect(default_window_size.width(), |
sky
2013/01/23 22:12:10
There is a constructor that takes a Size.
Nayan
2013/01/23 22:23:10
Done.
|
+ default_window_size.height())))); |
root_window_->Init(); |
aura::client::SetStackingClient(root_window_.get(), this); |