| Index: ui/views/widget/desktop_native_widget_helper_aura.cc
|
| diff --git a/ui/views/widget/desktop_native_widget_helper_aura.cc b/ui/views/widget/desktop_native_widget_helper_aura.cc
|
| index ad68fafa168ebc20d0d6a8b85db2a93de3a5afdf..9543644d4d4eda359d40c5e5c434372ad506a1f6 100644
|
| --- a/ui/views/widget/desktop_native_widget_helper_aura.cc
|
| +++ b/ui/views/widget/desktop_native_widget_helper_aura.cc
|
| @@ -198,7 +198,11 @@ gfx::Rect DesktopNativeWidgetHelperAura::ModifyAndSetBounds(
|
| const gfx::Rect& bounds) {
|
| gfx::Rect out_bounds = bounds;
|
| if (root_window_.get() && !out_bounds.IsEmpty()) {
|
| + // TODO(scottmg): This avoids the AdjustWindowRect that ash wants to
|
| + // adjust the top level on Windows.
|
| +#if !defined(OS_WIN)
|
| root_window_->SetHostBounds(out_bounds);
|
| +#endif
|
| out_bounds.set_x(0);
|
| out_bounds.set_y(0);
|
| } else if (is_embedded_window_) {
|
|
|