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

Unified Diff: base/message_pump_x.cc

Issue 8368009: Replace most LOG statements with DLOG statements in base. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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/message_pump_libevent.cc ('k') | base/metrics/histogram.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_pump_x.cc
===================================================================
--- base/message_pump_x.cc (revision 106858)
+++ base/message_pump_x.cc (working copy)
@@ -66,7 +66,7 @@
int event, err;
if (!XQueryExtension(display, "XInputExtension", &xiopcode, &event, &err)) {
- VLOG(1) << "X Input extension not available.";
+ DVLOG(1) << "X Input extension not available.";
xiopcode = -1;
return;
}
@@ -78,13 +78,13 @@
int major = 2, minor = 0;
#endif
if (XIQueryVersion(display, &major, &minor) == BadRequest) {
- VLOG(1) << "XInput2 not supported in the server.";
+ DVLOG(1) << "XInput2 not supported in the server.";
xiopcode = -1;
return;
}
#if defined(USE_XI2_MT)
if (major < 2 || (major == 2 && minor < USE_XI2_MT)) {
- VLOG(1) << "XI version on server is " << major << "." << minor << ". "
+ DVLOG(1) << "XI version on server is " << major << "." << minor << ". "
<< "But 2." << USE_XI2_MT << " is required.";
xiopcode = -1;
return;
@@ -148,7 +148,7 @@
DCHECK(!x_source_);
GPollFD* x_poll = new GPollFD();
Display* display = GetDefaultXDisplay();
- CHECK(display) << "Unable to get connection to X server";
+ DCHECK(display) << "Unable to get connection to X server";
x_poll->fd = ConnectionNumber(display);
x_poll->events = G_IO_IN;
@@ -186,7 +186,7 @@
should_quit = true;
Quit();
} else if (status == MessagePumpDispatcher::EVENT_IGNORED) {
- VLOG(1) << "Event (" << xev->type << ") not handled.";
+ DVLOG(1) << "Event (" << xev->type << ") not handled.";
}
DidProcessXEvent(xev);
}
« no previous file with comments | « base/message_pump_libevent.cc ('k') | base/metrics/histogram.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698