diff options
author | mseaborn@chromium.org <mseaborn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-28 23:36:26 +0000 |
---|---|---|
committer | mseaborn@chromium.org <mseaborn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-28 23:36:26 +0000 |
commit | dd18b11af7a119be546b9fc654c7c86758985c69 (patch) | |
tree | 6a41e9e2a5ec55fba2929304a7db07fc7badc565 /base/synchronization | |
parent | 829ad97989a7aac3c80e0a0562e97271cd1e8ea1 (diff) | |
download | chromium_src-dd18b11af7a119be546b9fc654c7c86758985c69.zip chromium_src-dd18b11af7a119be546b9fc654c7c86758985c69.tar.gz chromium_src-dd18b11af7a119be546b9fc654c7c86758985c69.tar.bz2 |
Use LOG_GETLASTERROR in more cases in base/
This provides a more informative textual error rather than a numeric
error code.
BUG=none
TEST=build
Review URL: https://chromiumcodereview.appspot.com/12051083
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179214 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/synchronization')
-rw-r--r-- | base/synchronization/waitable_event_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/synchronization/waitable_event_win.cc b/base/synchronization/waitable_event_win.cc index 28f8fc3..b5dfe05 100644 --- a/base/synchronization/waitable_event_win.cc +++ b/base/synchronization/waitable_event_win.cc @@ -92,7 +92,7 @@ size_t WaitableEvent::WaitMany(WaitableEvent** events, size_t count) { FALSE, // don't wait for all the objects INFINITE); // no timeout if (result >= WAIT_OBJECT_0 + count) { - NOTREACHED() << "WaitForMultipleObjects failed: " << GetLastError(); + DLOG_GETLASTERROR(FATAL) << "WaitForMultipleObjects failed"; return 0; } |