Chromium Code Reviews| Index: ui/events/x/device_list_cache_x.h |
| diff --git a/ui/events/x/device_list_cache_x.h b/ui/events/x/device_list_cache_x.h |
| index 5b015d4cea6542e6f063a102c1bb585b748dfcb9..5456a43177ee2f46c24cccb7ffbc367a424e3808 100644 |
| --- a/ui/events/x/device_list_cache_x.h |
| +++ b/ui/events/x/device_list_cache_x.h |
| @@ -24,6 +24,7 @@ struct DeviceList { |
| T& operator[] (int x) { |
| return devices[x]; |
| } |
| + const T& operator[](int x) const { return devices[x]; } |
| T* devices; |
| int count; |
| }; |