| Index: ui/views/widget/native_widget_win.cc
|
| diff --git a/ui/views/widget/native_widget_win.cc b/ui/views/widget/native_widget_win.cc
|
| index 5af20c6369f9e9226d57e55d33262d1ad5b95456..fa64458177a6938fe88db139098877763d201f61 100644
|
| --- a/ui/views/widget/native_widget_win.cc
|
| +++ b/ui/views/widget/native_widget_win.cc
|
| @@ -2225,7 +2225,7 @@ void NativeWidgetWin::OnWindowPosChanged(WINDOWPOS* window_pos) {
|
| void NativeWidgetWin::OnFinalMessage(HWND window) {
|
| // We don't destroy props in WM_DESTROY as we may still get messages after
|
| // WM_DESTROY that assume the properties are still valid (such as WM_CLOSE).
|
| - props_.reset();
|
| + props_.clear();
|
| delegate_->OnNativeWidgetDestroyed();
|
| if (ownership_ == Widget::InitParams::NATIVE_WIDGET_OWNS_WIDGET)
|
| delete this;
|
|
|