summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/webwidget_host_win.cc
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 /webkit/tools/test_shell/webwidget_host_win.cc
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 'webkit/tools/test_shell/webwidget_host_win.cc')
-rw-r--r--webkit/tools/test_shell/webwidget_host_win.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/webkit/tools/test_shell/webwidget_host_win.cc b/webkit/tools/test_shell/webwidget_host_win.cc
index 9deca4c..44fd523 100644
--- a/webkit/tools/test_shell/webwidget_host_win.cc
+++ b/webkit/tools/test_shell/webwidget_host_win.cc
@@ -50,7 +50,6 @@ WebWidgetHost* WebWidgetHost::Create(HWND parent_view,
kWindowClassName, kWindowClassName, WS_POPUP,
0, 0, 0, 0,
parent_view, NULL, GetModuleHandle(NULL), NULL);
- TRACK_HWND_CREATION(host->view_);
win_util::SetWindowUserData(host->view_, host);
host->webwidget_ = WebWidget::Create(delegate);
@@ -71,9 +70,6 @@ LRESULT CALLBACK WebWidgetHost::WndProc(HWND hwnd, UINT message, WPARAM wparam,
case WM_DESTROY:
delete host;
break;
- case WM_NCDESTROY:
- TRACK_HWND_DESTRUCTION(hwnd);
- break;
case WM_PAINT: {
RECT rect;