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

Unified Diff: base/win/object_watcher.cc

Issue 281223002: Removed LOG_GETLASTERROR and LOG_ERRNO macros. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Wed 05/14/2014 11:20:03.21 Created 6 years, 7 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
« no previous file with comments | « base/win/message_window.cc ('k') | components/nacl/loader/nonsfi/irt_memory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/object_watcher.cc
diff --git a/base/win/object_watcher.cc b/base/win/object_watcher.cc
index 078f5b9fa1cf192429ff7207958e841d714badbe..3bb1cd32c52cab81c935971c6611f9b0f974dd25 100644
--- a/base/win/object_watcher.cc
+++ b/base/win/object_watcher.cc
@@ -43,7 +43,7 @@ bool ObjectWatcher::StartWatching(HANDLE object, Delegate* delegate) {
if (!RegisterWaitForSingleObject(&wait_object_, object, DoneWaiting,
this, INFINITE, wait_flags)) {
- DLOG_GETLASTERROR(FATAL) << "RegisterWaitForSingleObject failed";
+ DPLOG(FATAL) << "RegisterWaitForSingleObject failed";
object_ = NULL;
wait_object_ = NULL;
return false;
@@ -65,7 +65,7 @@ bool ObjectWatcher::StopWatching() {
// Blocking call to cancel the wait. Any callbacks already in progress will
// finish before we return from this call.
if (!UnregisterWaitEx(wait_object_, INVALID_HANDLE_VALUE)) {
- DLOG_GETLASTERROR(FATAL) << "UnregisterWaitEx failed";
+ DPLOG(FATAL) << "UnregisterWaitEx failed";
return false;
}
« no previous file with comments | « base/win/message_window.cc ('k') | components/nacl/loader/nonsfi/irt_memory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698