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

Unified Diff: ui/events/ozone/evdev/event_device_info.cc

Issue 1032233002: ozone: evdev: Unsquelch some real errors in release (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « no previous file | ui/events/ozone/evdev/touch_event_converter_evdev.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/evdev/event_device_info.cc
diff --git a/ui/events/ozone/evdev/event_device_info.cc b/ui/events/ozone/evdev/event_device_info.cc
index a289d786ed3b32b82b60d9ba94bab23a29ae4228..f8fcd5f6561e3d573fd61125ad5ca92fa6c9ce48 100644
--- a/ui/events/ozone/evdev/event_device_info.cc
+++ b/ui/events/ozone/evdev/event_device_info.cc
@@ -19,8 +19,7 @@ namespace {
bool GetEventBits(int fd, unsigned int type, void* buf, unsigned int size) {
if (ioctl(fd, EVIOCGBIT(type, size), buf) < 0) {
- DLOG(ERROR) << "failed EVIOCGBIT(" << type << ", " << size << ") on fd "
- << fd;
+ PLOG(ERROR) << "EVIOCGBIT(" << type << ", " << size << ") on fd " << fd;
return false;
}
@@ -29,7 +28,7 @@ bool GetEventBits(int fd, unsigned int type, void* buf, unsigned int size) {
bool GetPropBits(int fd, void* buf, unsigned int size) {
if (ioctl(fd, EVIOCGPROP(size), buf) < 0) {
- DLOG(ERROR) << "failed EVIOCGPROP(" << size << ") on fd " << fd;
+ PLOG(ERROR) << "EVIOCGPROP(" << size << ") on fd " << fd;
return false;
}
@@ -38,7 +37,7 @@ bool GetPropBits(int fd, void* buf, unsigned int size) {
bool GetAbsInfo(int fd, int code, struct input_absinfo* absinfo) {
if (ioctl(fd, EVIOCGABS(code), absinfo)) {
- DLOG(ERROR) << "failed EVIOCGABS(" << code << ") on fd " << fd;
+ PLOG(ERROR) << "EVIOCGABS(" << code << ") on fd " << fd;
return false;
}
return true;
@@ -55,7 +54,7 @@ bool GetSlotValues(int fd, int32_t* request, unsigned int size) {
size_t data_size = size * sizeof(*request);
if (ioctl(fd, EVIOCGMTSLOTS(data_size), request) < 0) {
- DLOG(ERROR) << "failed EVIOCGMTSLOTS(" << request[0] << ") on fd " << fd;
+ PLOG(ERROR) << "EVIOCGMTSLOTS(" << request[0] << ") on fd " << fd;
return false;
}
« no previous file with comments | « no previous file | ui/events/ozone/evdev/touch_event_converter_evdev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698