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

Unified Diff: ui/gfx/win/hwnd_util.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 | « remoting/tools/breakpad_tester_win.cc ('k') | ui/views/corewm/tooltip_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/win/hwnd_util.cc
diff --git a/ui/gfx/win/hwnd_util.cc b/ui/gfx/win/hwnd_util.cc
index e28398a56d7e98d1fcc7dd6752ad09543d233d57..050aa9b733f0be41796de2e034520d90756caae4 100644
--- a/ui/gfx/win/hwnd_util.cc
+++ b/ui/gfx/win/hwnd_util.cc
@@ -54,16 +54,16 @@ void AdjustWindowToFit(HWND hwnd, const RECT& bounds, bool fit_to_monitor) {
MSVC_DISABLE_OPTIMIZE();
void CrashOutOfMemory() {
- LOG_GETLASTERROR(FATAL);
+ PLOG(FATAL);
}
void CrashAccessDenied() {
- LOG_GETLASTERROR(FATAL);
+ PLOG(FATAL);
}
// Crash isn't one of the ones we commonly see.
void CrashOther() {
- LOG_GETLASTERROR(FATAL);
+ PLOG(FATAL);
}
MSVC_ENABLE_OPTIMIZE();
@@ -200,7 +200,7 @@ void CheckWindowCreated(HWND hwnd) {
CrashOther();
break;
}
- LOG_GETLASTERROR(FATAL);
+ PLOG(FATAL);
}
}
« no previous file with comments | « remoting/tools/breakpad_tester_win.cc ('k') | ui/views/corewm/tooltip_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698