Fix bogus thunking of the 'Chrome_MessageWindow'
commite3ce40ad3ee1a3d5ff6ce65636da8f7bf33900d7
authorcpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 31 Jan 2012 03:03:03 +0000 (31 03:03 +0000)
committercpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 31 Jan 2012 03:03:03 +0000 (31 03:03 +0000)
treef1d6f3121c6294f87ada35d748c83df4b2aeb8c6
parent5bf0faf6c9ec0bc9a1a0f731d652f35a97649d88
Fix bogus thunking of the 'Chrome_MessageWindow'

ProcessSingleton::WndProc was being invoked with |this| == NULL
and somehow base::win::WrappedWindowProc<> eats the exceptions
causing the critical return from WM_CREATE to not be zero and thus
window creation fails.

Other Minor fixes, inspiration from Joi's change 9121046

BUG=111361
TEST=crashes should dissapear, see bug.

Review URL: http://codereview.chromium.org/9298043

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119830 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/process_singleton.h
chrome/browser/process_singleton_win.cc