Index: ui/ozone/platform/egltest/ozone_platform_egltest.cc |
diff --git a/ui/ozone/platform/egltest/ozone_platform_egltest.cc b/ui/ozone/platform/egltest/ozone_platform_egltest.cc |
index 1e8ca15e88cb0c20c4546c4f887d6172d25e198a..42ce0a8d6e768c1935c61e89c997000e6c6f9db1 100644 |
--- a/ui/ozone/platform/egltest/ozone_platform_egltest.cc |
+++ b/ui/ozone/platform/egltest/ozone_platform_egltest.cc |
@@ -56,7 +56,7 @@ std::string GetShimLibraryName() { |
void ScaleTouchEvent(TouchEvent* event, const gfx::SizeF& size) { |
for (const auto& device : |
DeviceDataManager::GetInstance()->touchscreen_devices()) { |
- if (device.id == static_cast<unsigned int>(event->source_device_id())) { |
+ if (device.id == event->source_device_id()) { |
gfx::SizeF touchscreen_size = device.size; |
gfx::PointF location = event->location_f(); |