| Index: third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| index 5dcfceefa8747f73e498f36cded5222520b6f9a6..99fd28533a019be262a514ef32c95d2abd6cfd37 100644
|
| --- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| @@ -741,7 +741,7 @@ void WebFrameWidgetImpl::handleMouseDown(LocalFrame& mainFrame,
|
| // Take capture on a mouse down on a plugin so we can send it mouse events.
|
| // If the hit node is a plugin but a scrollbar is over it don't start mouse
|
| // capture because it will interfere with the scrollbar receiving events.
|
| - IntPoint point(event.x, event.y);
|
| + IntPoint point(event.positionInWidget().x, event.positionInWidget().y);
|
| if (event.button == WebMouseEvent::Button::Left) {
|
| point = m_localRoot->frameView()->rootFrameToContents(point);
|
| HitTestResult result(
|
|
|