| Index: content/common/input/synthetic_web_input_event_builders.cc
|
| diff --git a/content/common/input/synthetic_web_input_event_builders.cc b/content/common/input/synthetic_web_input_event_builders.cc
|
| index effeecb3d162b8f6d6b02225250bdeacabf1bcac..d90b57e3375db5aee662c10411ad55e6ab64bd35 100644
|
| --- a/content/common/input/synthetic_web_input_event_builders.cc
|
| +++ b/content/common/input/synthetic_web_input_event_builders.cc
|
| @@ -152,7 +152,7 @@ void SyntheticWebTouchEvent::ResetPoints() {
|
| type = WebInputEvent::Undefined;
|
| }
|
|
|
| -int SyntheticWebTouchEvent::PressPoint(int x, int y) {
|
| +int SyntheticWebTouchEvent::PressPoint(float x, float y) {
|
| if (touchesLength == touchesLengthCap)
|
| return -1;
|
| WebTouchPoint& point = touches[touchesLength];
|
| @@ -166,7 +166,7 @@ int SyntheticWebTouchEvent::PressPoint(int x, int y) {
|
| return point.id;
|
| }
|
|
|
| -void SyntheticWebTouchEvent::MovePoint(int index, int x, int y) {
|
| +void SyntheticWebTouchEvent::MovePoint(int index, float x, float y) {
|
| CHECK(index >= 0 && index < touchesLengthCap);
|
| WebTouchPoint& point = touches[index];
|
| point.position.x = point.screenPosition.x = x;
|
|
|