Fixes crash in SaveWindowPlacement. It's possible to get a WM_CLOSE
after a WM_DESTROY. The current code in WM_DESTROY removes the properties, which means if we get a WM_CLOSE after WM_DESTROY we can't locate the profile and end up using local_state prefs, which haven't had the pref registered and we crash. The fix is to remove the properties in OnFinalMessage. BUG=91396 TEST=none R=ben@chromium.org Review URL: http://codereview.chromium.org/7741044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98633 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment