| Index: content/browser/renderer_host/input/touch_emulator.cc
|
| diff --git a/content/browser/renderer_host/input/touch_emulator.cc b/content/browser/renderer_host/input/touch_emulator.cc
|
| index b30370b59eb688bdafb211a5471a9db0ea068045..2991879d50ac1c798c0a295b4666fb641fb1b769 100644
|
| --- a/content/browser/renderer_host/input/touch_emulator.cc
|
| +++ b/content/browser/renderer_host/input/touch_emulator.cc
|
| @@ -461,7 +461,7 @@ void TouchEmulator::FillTouchEventAndPoint(const WebMouseEvent& mouse_event) {
|
| point.id = 0;
|
| point.radiusX = 0.5f * cursor_size_.width();
|
| point.radiusY = 0.5f * cursor_size_.height();
|
| - point.force = 1.f;
|
| + point.force = eventType == WebInputEvent::TouchEnd ? 0.f : 1.f;
|
| point.rotationAngle = 0.f;
|
| point.position.x = mouse_event.x;
|
| point.screenPosition.x = mouse_event.globalX;
|
|
|