diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-18 22:50:20 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-18 22:50:20 +0000 |
commit | f1aadb738b716d2e32392023b9eb7b75eac59f07 (patch) | |
tree | c6ceb922e8cc99fe4195a2adbd8f938f03c8f72e /base | |
parent | 0182232cfb9425caab261ddd470e2fe3c6f94193 (diff) | |
download | chromium_src-f1aadb738b716d2e32392023b9eb7b75eac59f07.zip chromium_src-f1aadb738b716d2e32392023b9eb7b75eac59f07.tar.gz chromium_src-f1aadb738b716d2e32392023b9eb7b75eac59f07.tar.bz2 |
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
Diffstat (limited to 'base')
-rw-r--r-- | base/window_impl.cc | 9 | ||||
-rw-r--r-- | base/window_impl.h | 3 |
2 files changed, 1 insertions, 11 deletions
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; } diff --git a/base/window_impl.h b/base/window_impl.h index ff8dd15..2941c3d9 100644 --- a/base/window_impl.h +++ b/base/window_impl.h @@ -50,9 +50,6 @@ class WindowImpl : public MessageMapInterface { // Retrieves the default window icon to use for windows if none is specified. virtual HICON GetDefaultWindowIcon() const; - // Override this to be notified of the last message. - virtual void OnFinalMessage(HWND window) {} - // Returns the HWND associated with this Window. HWND hwnd() const { return hwnd_; } |