| Index: chrome/views/window.cc
|
| ===================================================================
|
| --- chrome/views/window.cc (revision 9058)
|
| +++ chrome/views/window.cc (working copy)
|
| @@ -637,6 +637,13 @@
|
| }
|
|
|
| void Window::SaveWindowPosition() {
|
| + // The window delegate does the actual saving for us. It seems like (judging
|
| + // by go/crash) that in some circumstances we can end up here after
|
| + // WM_DESTROY, at which point the window delegate is likely gone. So just
|
| + // bail.
|
| + if (!window_delegate_)
|
| + return;
|
| +
|
| WINDOWPLACEMENT win_placement = { 0 };
|
| win_placement.length = sizeof(WINDOWPLACEMENT);
|
|
|
|
|