summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authoradamk@chromium.org <adamk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-08 00:23:25 +0000
committeradamk@chromium.org <adamk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-08 00:23:25 +0000
commite93e318996e5fdaed22a3f6d4ae9811814b2eec8 (patch)
treeb4b4c577c2d39a343c96470fbce9e6c227487d9c /base
parente68d901b6fa1f0f427ff5a0d2e9862790a66a043 (diff)
downloadchromium_src-e93e318996e5fdaed22a3f6d4ae9811814b2eec8.zip
chromium_src-e93e318996e5fdaed22a3f6d4ae9811814b2eec8.tar.gz
chromium_src-e93e318996e5fdaed22a3f6d4ae9811814b2eec8.tar.bz2
Make a DCHECK into a much more useful DCHECK_EQ in message_pump_win.cc.
Review URL: http://codereview.chromium.org/6246155 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74065 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/message_pump_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/message_pump_win.cc b/base/message_pump_win.cc
index 0df888a..d3f3621 100644
--- a/base/message_pump_win.cc
+++ b/base/message_pump_win.cc
@@ -421,7 +421,7 @@ void MessagePumpForIO::RegisterIOHandler(HANDLE file_handle,
IOHandler* handler) {
ULONG_PTR key = reinterpret_cast<ULONG_PTR>(handler);
HANDLE port = CreateIoCompletionPort(file_handle, port_, key, 1);
- DCHECK(port == port_.Get());
+ DPCHECK(port);
}
//-----------------------------------------------------------------------------