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

Unified Diff: base/win/message_window.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/time/time_posix.cc ('k') | base/win/object_watcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/message_window.cc
diff --git a/base/win/message_window.cc b/base/win/message_window.cc
index 56660740fc1a0c92fb7f5cd4b41766018595b80d..57fe64c798116af07672f8fd14aa43367837e384 100644
--- a/base/win/message_window.cc
+++ b/base/win/message_window.cc
@@ -52,7 +52,7 @@ MessageWindow::WindowClass::WindowClass()
window_class.hIconSm = NULL;
atom_ = RegisterClassEx(&window_class);
if (atom_ == 0) {
- LOG_GETLASTERROR(ERROR)
+ PLOG(ERROR)
<< "Failed to register the window class for a message-only window";
}
}
@@ -108,7 +108,7 @@ bool MessageWindow::DoCreate(const MessageCallback& message_callback,
window_ = CreateWindow(MAKEINTATOM(window_class.atom()), window_name, 0, 0, 0,
0, 0, HWND_MESSAGE, 0, window_class.instance(), this);
if (!window_) {
- LOG_GETLASTERROR(ERROR) << "Failed to create a message-only window";
+ PLOG(ERROR) << "Failed to create a message-only window";
return false;
}
« no previous file with comments | « base/time/time_posix.cc ('k') | base/win/object_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698