| Index: ui/views/widget/native_widget_aura.cc
|
| diff --git a/ui/views/widget/native_widget_aura.cc b/ui/views/widget/native_widget_aura.cc
|
| index d8859c0debccde3d38ce3e3aff60c67f02c55371..28a41e393d9c134e49e38fdb40416343cb443929 100644
|
| --- a/ui/views/widget/native_widget_aura.cc
|
| +++ b/ui/views/widget/native_widget_aura.cc
|
| @@ -538,11 +538,8 @@ void NativeWidgetAura::DispatchKeyEventPostIME(const KeyEvent& key) {
|
| ////////////////////////////////////////////////////////////////////////////////
|
| // NativeWidgetAura, aura::WindowDelegate implementation:
|
|
|
| -void NativeWidgetAura::OnBoundsChanging(gfx::Rect* new_bounds) {
|
| - // Enforces a minimum size.
|
| - const gfx::Size& min_size = delegate_->GetMinimumSize();
|
| - new_bounds->set_width(std::max(min_size.width(), new_bounds->width()));
|
| - new_bounds->set_height(std::max(min_size.height(), new_bounds->height()));
|
| +gfx::Size NativeWidgetAura::GetMinimumSize() const {
|
| + return delegate_->GetMinimumSize();
|
| }
|
|
|
| void NativeWidgetAura::OnBoundsChanged(const gfx::Rect& old_bounds,
|
|
|