diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-24 20:18:54 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-24 20:18:54 +0000 |
commit | 0a6dc3a6ca8fd3e0d85a45fc99c646e4c68d1d6a (patch) | |
tree | 8f23cd8372918518ee812a007156497a07a41bb4 /base | |
parent | 5f6791666943fb22e36717050383414136e5e9fc (diff) | |
download | chromium_src-0a6dc3a6ca8fd3e0d85a45fc99c646e4c68d1d6a.zip chromium_src-0a6dc3a6ca8fd3e0d85a45fc99c646e4c68d1d6a.tar.gz chromium_src-0a6dc3a6ca8fd3e0d85a45fc99c646e4c68d1d6a.tar.bz2 |
Reverting 27113, it breaks the ChomeOS build.
TBR=ben
Review URL: http://codereview.chromium.org/231022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27115 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/win_util.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/base/win_util.cc b/base/win_util.cc index 9b061bf..37fc1ae 100644 --- a/base/win_util.cc +++ b/base/win_util.cc @@ -279,8 +279,6 @@ bool Subclass(HWND window, WNDPROC subclass_proc) { WNDPROC original_handler = reinterpret_cast<WNDPROC>(GetWindowLongPtr(window, GWLP_WNDPROC)); if (original_handler != subclass_proc) { - DCHECK(!GetProp(window, kHandlerKey)) << "subclassing a HWND more than " - "once"; win_util::SetWindowProc(window, subclass_proc); SetProp(window, kHandlerKey, original_handler); return true; |