diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-20 04:14:21 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-20 04:14:21 +0000 |
commit | de016ebcdfde1345a9463af1e50b7645f6909ffc (patch) | |
tree | a67d7517d4f65550465a5bc9a0e1c358ae2ab1c6 /base/win_util.h | |
parent | 4646f29cf92e2b3cd70158067d11431ae9351bcf (diff) | |
download | chromium_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 'base/win_util.h')
-rw-r--r-- | base/win_util.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/base/win_util.h b/base/win_util.h index 284b9bd..e628bd7 100644 --- a/base/win_util.h +++ b/base/win_util.h @@ -10,8 +10,6 @@ #include <string> -#include "base/tracked.h" - namespace win_util { // NOTE: Keep these in order so callers can do things like @@ -106,17 +104,6 @@ std::wstring FormatMessage(unsigned messageid); // Uses the last Win32 error to generate a human readable message string. std::wstring FormatLastWin32Error(); -// These 2 methods are used to track HWND creation/destruction to investigate -// a mysterious crasher http://crbugs.com/4714 (crasher in on NCDestroy) that -// might be caused by a multiple delete of an HWND. -void NotifyHWNDCreation(const tracked_objects::Location& from_here, HWND hwnd); -void NotifyHWNDDestruction(const tracked_objects::Location& from_here, - HWND hwnd); - -#define TRACK_HWND_CREATION(hwnd) win_util::NotifyHWNDCreation(FROM_HERE, hwnd) -#define TRACK_HWND_DESTRUCTION(hwnd) \ - win_util::NotifyHWNDDestruction(FROM_HERE, hwnd) - } // namespace win_util #endif // BASE_WIN_UTIL_H__ |