diff options
author | vitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-21 20:06:23 +0000 |
---|---|---|
committer | vitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-21 20:06:23 +0000 |
commit | ad8cfa996623e585ea16665fc18db174fe947121 (patch) | |
tree | c44f98c608a090dccfc90aa81c95c814f26a7775 /ui/gfx/win | |
parent | 0f4dffbf1a776c3bdd124be30e983247fb4d6896 (diff) | |
download | chromium_src-ad8cfa996623e585ea16665fc18db174fe947121.zip chromium_src-ad8cfa996623e585ea16665fc18db174fe947121.tar.gz chromium_src-ad8cfa996623e585ea16665fc18db174fe947121.tar.bz2 |
Removed LOG_GETLASTERROR and LOG_ERRNO macros.
Most code uses PLOG with the same effect.
TBR=bradchen
NOTRY=true
Review URL: https://codereview.chromium.org/281223002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271949 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/win')
-rw-r--r-- | ui/gfx/win/hwnd_util.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/gfx/win/hwnd_util.cc b/ui/gfx/win/hwnd_util.cc index e28398a..050aa9b 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); } } |