Index: third_party/WebKit/Source/core/input/EventHandlerTest.cpp |
diff --git a/third_party/WebKit/Source/core/input/EventHandlerTest.cpp b/third_party/WebKit/Source/core/input/EventHandlerTest.cpp |
index f8618151f6be13253f4f4efeefa617b8fe13d3b2..83278a043d3ef8a84b1d5602c9a78023a73c70f8 100644 |
--- a/third_party/WebKit/Source/core/input/EventHandlerTest.cpp |
+++ b/third_party/WebKit/Source/core/input/EventHandlerTest.cpp |
@@ -65,7 +65,7 @@ class LongPressEventBuilder : public WebGestureEvent { |
class MousePressEventBuilder : public WebMouseEvent { |
public: |
- MousePressEventBuilder(IntPoint position, |
+ MousePressEventBuilder(IntPoint positionParam, |
int clickCountParam, |
WebMouseEvent::Button buttonParam) |
: WebMouseEvent(WebInputEvent::MouseDown, |
@@ -73,8 +73,8 @@ class MousePressEventBuilder : public WebMouseEvent { |
TimeTicks::Now().InSeconds()) { |
clickCount = clickCountParam; |
button = buttonParam; |
- x = globalX = position.x(); |
- y = globalY = position.y(); |
+ position.x = screenPosition.x = positionParam.x(); |
+ position.y = screenPosition.y = positionParam.y(); |
m_frameScale = 1; |
} |
}; |