| Index: third_party/WebKit/Source/web/WebInputEventConversion.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebInputEventConversion.cpp b/third_party/WebKit/Source/web/WebInputEventConversion.cpp
|
| index 203d818402322973f8c285b1fa1c923fd1ab3134..2f88073d92c6ca0906a58e8767dcd8019e277ce8 100644
|
| --- a/third_party/WebKit/Source/web/WebInputEventConversion.cpp
|
| +++ b/third_party/WebKit/Source/web/WebInputEventConversion.cpp
|
| @@ -511,7 +511,7 @@ static void updateWebMouseEventFromCoreMouseEvent(const MouseRelatedEvent& event
|
|
|
| FrameView* view = widget ? toFrameView(widget->parent()) : 0;
|
| // TODO(bokan): If view == nullptr, pointInRootFrame will really be pointInRootContent.
|
| - IntPoint pointInRootFrame = IntPoint(event.absoluteLocation().x(), event.absoluteLocation().y());
|
| + IntPoint pointInRootFrame = IntPoint(event.absoluteLocation().x().toInt(), event.absoluteLocation().y().toInt());
|
| if (view)
|
| pointInRootFrame = view->contentsToRootFrame(pointInRootFrame);
|
| webEvent.globalX = event.screenX();
|
|
|