summaryrefslogtreecommitdiffstats
path: root/views/widget
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-20 04:14:21 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-20 04:14:21 +0000
commitde016ebcdfde1345a9463af1e50b7645f6909ffc (patch)
treea67d7517d4f65550465a5bc9a0e1c358ae2ab1c6 /views/widget
parent4646f29cf92e2b3cd70158067d11431ae9351bcf (diff)
downloadchromium_src-de016ebcdfde1345a9463af1e50b7645f6909ffc.zip
chromium_src-de016ebcdfde1345a9463af1e50b7645f6909ffc.tar.gz
chromium_src-de016ebcdfde1345a9463af1e50b7645f6909ffc.tar.bz2
Remove TRACK_HWND_CREATION/TRACK_HWND_DESTRUCTION macro since the bug it was created for has long been closed. This code causes crashes when the browser is closed with the task manager open (in debug builds at the very least).
Review URL: http://codereview.chromium.org/115553 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16462 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget')
-rw-r--r--views/widget/widget_win.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/views/widget/widget_win.cc b/views/widget/widget_win.cc
index 4dfb0ca..fdb6252 100644
--- a/views/widget/widget_win.cc
+++ b/views/widget/widget_win.cc
@@ -179,7 +179,6 @@ void WidgetWin::Init(HWND parent, const gfx::Rect& bounds,
window_style_, bounds.x(), bounds.y(), bounds.width(),
bounds.height(), parent, NULL, NULL, this);
DCHECK(hwnd_);
- TRACK_HWND_CREATION(hwnd_);
SetWindowSupportsRerouteMouseWheel(hwnd_);
// The window procedure should have set the data for us.
@@ -1031,7 +1030,6 @@ LRESULT CALLBACK WidgetWin::WndProc(HWND window, UINT message,
if (!widget->ProcessWindowMessage(window, message, w_param, l_param, result))
result = DefWindowProc(window, message, w_param, l_param);
if (message == WM_NCDESTROY) {
- TRACK_HWND_DESTRUCTION(window);
widget->hwnd_ = NULL;
widget->OnFinalMessage(window);
}