Index: remoting/client/touch_input_scaler.cc |
diff --git a/remoting/client/touch_input_scaler.cc b/remoting/client/touch_input_scaler.cc |
index 80c749cc1d74b7978e945a1e416b437b64c86cf0..547314c8a27570dec232d8dc52d28195b5f498f1 100644 |
--- a/remoting/client/touch_input_scaler.cc |
+++ b/remoting/client/touch_input_scaler.cc |
@@ -69,8 +69,9 @@ void TouchInputScaler::InjectTouchEvent(const TouchEvent& event) { |
// This is because a HiDPI Chromebook device (e.g. Pixel) has 2 by 2 |
// physical pixel mapped to a logical pixel. |
// With scaling, the size would be the same. |
- // TODO(rkuroiwa): Also clamp. Note that point->angle() affects the maximum |
- // size (crbug.com/461526). |
+ // Note that there's no need to clamp the touch point size. For example on |
+ // a Nexus4 device, part of the touch circle falls outside the screen on |
+ // edges but still functions correctly. |
if (point->has_radius_x() || point->has_radius_y()) { |
DCHECK(point->has_radius_x() && point->has_radius_y()); |
point->set_radius_x( |