From f1aadb738b716d2e32392023b9eb7b75eac59f07 Mon Sep 17 00:00:00 2001 From: "jhawkins@chromium.org" Date: Tue, 18 Aug 2009 22:50:20 +0000 Subject: Reverting 23645. Crashing the reliability bot. Review URL: http://codereview.chromium.org/174029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23674 0039d316-1c4b-4281-b951-d872f2087c98 --- base/window_impl.cc | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'base/window_impl.cc') diff --git a/base/window_impl.cc b/base/window_impl.cc index 7438bd9..c3b3ad4 100644 --- a/base/window_impl.cc +++ b/base/window_impl.cc @@ -155,14 +155,7 @@ LRESULT WindowImpl::OnWndProc(UINT message, WPARAM w_param, LPARAM l_param) { // Handle the message if it's in our message map; otherwise, let the system // handle it. if (!ProcessWindowMessage(hwnd_, message, w_param, l_param, result)) - result = DefWindowProc(hwnd_, message, w_param, l_param); - - if (message == WM_NCDESTROY) { - // Notify the subclass that this is the last message before the window - // is destroyed. - OnFinalMessage(hwnd_); - hwnd_ = NULL; - } + result = DefWindowProc(hwnd_, message, w_param, l_param); return result; } -- cgit v1.1