Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2252)

Unified Diff: base/synchronization/waitable_event_win.cc

Issue 8368009: Replace most LOG statements with DLOG statements in base. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/synchronization/waitable_event_win.cc
===================================================================
--- base/synchronization/waitable_event_win.cc (revision 106774)
+++ base/synchronization/waitable_event_win.cc (working copy)
@@ -75,7 +75,7 @@
// static
size_t WaitableEvent::WaitMany(WaitableEvent** events, size_t count) {
HANDLE handles[MAXIMUM_WAIT_OBJECTS];
- CHECK_LE(count, MAXIMUM_WAIT_OBJECTS)
+ DCHECK_LE(count, MAXIMUM_WAIT_OBJECTS)
jar (doing other things) 2011/10/23 00:36:28 This protects us from a buffer overrun if we could
<< "Can only wait on " << MAXIMUM_WAIT_OBJECTS << " with WaitMany";
for (size_t i = 0; i < count; ++i)

Powered by Google App Engine
This is Rietveld 408576698