| Index: ui/aura/desktop.cc
|
| diff --git a/ui/aura/desktop.cc b/ui/aura/desktop.cc
|
| index 94a7034e7380cb4e92771d4e30da4ad5793d0b24..94399c11e9084649635acde58e01b72755018705 100644
|
| --- a/ui/aura/desktop.cc
|
| +++ b/ui/aura/desktop.cc
|
| @@ -52,7 +52,7 @@ void Desktop::Init() {
|
| window_->Init();
|
| compositor()->SetRootLayer(window_->layer());
|
| toplevel_window_container_->Init();
|
| - toplevel_window_container_->SetBounds(gfx::Rect(0, 0, 1280, 1024), 0);
|
| + toplevel_window_container_->SetBounds(gfx::Rect(0, 0, 1280, 1024));
|
| toplevel_window_container_->SetVisibility(aura::Window::VISIBILITY_SHOWN);
|
| toplevel_window_container_->SetParent(window_.get());
|
| }
|
| @@ -88,7 +88,7 @@ bool Desktop::OnKeyEvent(const KeyEvent& event) {
|
|
|
| void Desktop::OnHostResized(const gfx::Size& size) {
|
| gfx::Rect bounds(window_->bounds().origin(), size);
|
| - window_->SetBounds(bounds, 0);
|
| + window_->SetBounds(bounds);
|
| compositor_->WidgetSizeChanged(size);
|
| }
|
|
|
|
|