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 c7c50e8ba5a944bb318e5df54741a8a153d4d9cb..a3e310b3be13adccc534ed7fd088117dd9a8e98d 100644 |
--- a/ui/ozone/platform/egltest/ozone_platform_egltest.cc |
+++ b/ui/ozone/platform/egltest/ozone_platform_egltest.cc |
@@ -67,8 +67,8 @@ void ScaleTouchEvent(TouchEvent* event, const gfx::SizeF& size) { |
double ratio = std::sqrt(size.GetArea() / touchscreen_size.GetArea()); |
event->set_location(location); |
- event->set_radius_x(event->radius_x() * ratio); |
- event->set_radius_y(event->radius_y() * ratio); |
+ event->set_radius_x(event->pointer_details().radius_x() * ratio); |
+ event->set_radius_y(event->pointer_details().radius_y() * ratio); |
return; |
} |
} |