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

Unified Diff: app/win/scoped_prop.cc

Issue 6019007: Remove win_util::FormatMessage and FormatLastWin32Error. These were only used... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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 | « app/win/hwnd_util.cc ('k') | app/win/window_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/win/scoped_prop.cc
===================================================================
--- app/win/scoped_prop.cc (revision 70263)
+++ app/win/scoped_prop.cc (working copy)
@@ -18,7 +18,7 @@
// is going to ask for the property and get NULL. So, rather than crash later
// on when someone expects a non-NULL value we crash here in hopes of
// diagnosing the failure.
- CHECK(result) << win_util::FormatLastWin32Error();
+ CHECK(result) << ::GetLastError();
}
ScopedProp::~ScopedProp() {
Property changes on: app\win\scoped_prop.cc
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « app/win/hwnd_util.cc ('k') | app/win/window_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698