diff options
author | ojan@google.com <ojan@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-03 23:34:04 +0000 |
---|---|---|
committer | ojan@google.com <ojan@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-03 23:34:04 +0000 |
commit | 83f8b61d6498f23b6e74598bffa9866fda52ea3a (patch) | |
tree | 6359863ae2d40e953a8c4b7cf27e1664dd08a09b /base/win_util.h | |
parent | 0dea0a65b4cabd5910fb8747a0cb3935a27e6ec5 (diff) | |
download | chromium_src-83f8b61d6498f23b6e74598bffa9866fda52ea3a.zip chromium_src-83f8b61d6498f23b6e74598bffa9866fda52ea3a.tar.gz chromium_src-83f8b61d6498f23b6e74598bffa9866fda52ea3a.tar.bz2 |
Reverting 9109.
Broke the build.
Review URL: http://codereview.chromium.org/20029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9110 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/win_util.h')
-rw-r--r-- | base/win_util.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/base/win_util.h b/base/win_util.h index f6ce1c2..317c332 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 @@ -104,22 +102,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); - -#ifdef NDEBUG -#define TRACK_HWND_CREATION(hwnd) -#define TRACK_HWND_DESTRUCTION(hwnd) -#else -#define TRACK_HWND_CREATION(hwnd) win_util::NotifyHWNDCreation(FROM_HERE, hwnd) -#define TRACK_HWND_DESTRUCTION(hwnd) \ - win_util::NotifyHWNDDestruction(FROM_HERE, hwnd) -#endif - } // namespace win_util #endif // BASE_WIN_UTIL_H__ |