Chromium Code Reviews| 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 9621646d26b9b22445d58d43ceadc1e50afb634a..3e10d793a6b9aa6e80fcc5a0166fad7cb50f6cb3 100644 |
| --- a/ui/events/ozone/evdev/event_device_info.cc |
| +++ b/ui/events/ozone/evdev/event_device_info.cc |
| @@ -14,8 +14,6 @@ namespace ui { |
| namespace { |
| bool GetEventBits(int fd, unsigned int type, void* buf, unsigned int size) { |
| - base::ThreadRestrictions::AssertIOAllowed(); |
|
rjkroege
2014/01/30 22:18:09
for ozone, it would be really nice to have a "only
spang
2014/01/31 17:33:00
Should that go in base::ThreadRestrictions?
I thi
|
| - |
| if (ioctl(fd, EVIOCGBIT(type, size), buf) < 0) { |
| DLOG(ERROR) << "failed EVIOCGBIT(" << type << ", " << size << ") on fd " |
| << fd; |
| @@ -26,8 +24,6 @@ bool GetEventBits(int fd, unsigned int type, void* buf, unsigned int size) { |
| } |
| bool GetPropBits(int fd, void* buf, unsigned int size) { |
| - base::ThreadRestrictions::AssertIOAllowed(); |
| - |
| if (ioctl(fd, EVIOCGPROP(size), buf) < 0) { |
| DLOG(ERROR) << "failed EVIOCGPROP(" << size << ") on fd " << fd; |
| return false; |