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

Unified Diff: ui/gfx/win/window_impl.cc

Issue 2561963002: base: Remove the string logging from CHECK(). (Closed)
Patch Set: checkstring: rebase Created 4 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
Index: ui/gfx/win/window_impl.cc
diff --git a/ui/gfx/win/window_impl.cc b/ui/gfx/win/window_impl.cc
index f7744687c97b396501d9cd4fe8ecb0258d637954..4501fb6af61900574eb5c0115bbcd1f293edbc01 100644
--- a/ui/gfx/win/window_impl.cc
+++ b/ui/gfx/win/window_impl.cc
@@ -135,7 +135,7 @@ ATOM ClassRegistrar::RetrieveClassAtom(const ClassInfo& class_info) {
class_info.icon, class_info.small_icon, &window_class);
HMODULE instance = window_class.hInstance;
ATOM atom = RegisterClassEx(&window_class);
- CHECK(atom) << GetLastError();
+ CHECK(atom);
registered_classes_.push_back(RegisteredClass(
class_info, name, atom, instance));

Powered by Google App Engine
This is Rietveld 408576698