| Index: third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp b/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
|
| index 23e1c3e6029582ccdf50fb8a6ff6e7205d792f31..b1fbf92d40b98899ab5d337aad04ab32503bc6b7 100644
|
| --- a/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
|
| @@ -448,7 +448,8 @@ class EventTestPlugin : public FakeWebPlugin {
|
| event.type() == WebInputEvent::MouseWheel) {
|
| const WebMouseEvent& mouseEvent =
|
| static_cast<const WebMouseEvent&>(event);
|
| - m_lastMouseEventLocation = IntPoint(mouseEvent.x, mouseEvent.y);
|
| + m_lastMouseEventLocation =
|
| + IntPoint(mouseEvent.position.x, mouseEvent.position.y);
|
| }
|
|
|
| return WebInputEventResult::HandledSystem;
|
| @@ -537,8 +538,8 @@ TEST_F(WebPluginContainerTest, MouseWheelEventTranslated) {
|
| WebInputEvent::TimeStampForTesting);
|
|
|
| WebRect rect = pluginContainerOneElement.boundsInViewport();
|
| - event.x = rect.x + rect.width / 2;
|
| - event.y = rect.y + rect.height / 2;
|
| + event.position.x = rect.x + rect.width / 2;
|
| + event.position.y = rect.y + rect.height / 2;
|
|
|
| webView->handleInputEvent(WebCoalescedInputEvent(event));
|
| runPendingTasks();
|
|
|