Chromium Code Reviews| Index: content/shell/shell_aura.cc |
| diff --git a/content/shell/shell_aura.cc b/content/shell/shell_aura.cc |
| index a0986c47192f0faab60f726e00ee5c95152a4285..e2f7e3712bd706050ec99a46943411df80c649a8 100644 |
| --- a/content/shell/shell_aura.cc |
| +++ b/content/shell/shell_aura.cc |
| @@ -338,6 +338,8 @@ void Shell::PlatformCreateWindow(int width, int height) { |
| views::Widget::CreateWindowWithBounds(new ShellWindowDelegateView(this), |
| gfx::Rect(0, 0, width, height)); |
| window_ = window_widget_->GetNativeWindow(); |
| + window_->GetRootWindow()->SetHostSize(gfx::Size(width, height)); |
|
sky
2013/01/08 01:20:05
Why is this needed?
Nayan
2013/01/08 02:25:38
By default, ShellStackingClientAsh creates root wi
sky
2013/01/08 18:28:15
Shouldn't the size passed to CreateWindowWithBound
Nayan
2013/01/13 03:07:18
Done.
|
| + window_->GetRootWindow()->ShowRootWindow(); |
| window_widget_->Show(); |
| } |