| Index: third_party/WebKit/Source/core/input/EventHandlingUtil.cpp
|
| diff --git a/third_party/WebKit/Source/core/input/EventHandlingUtil.cpp b/third_party/WebKit/Source/core/input/EventHandlingUtil.cpp
|
| index 908de11084e01bf8a44b9de6c32cb8ae855d5339..4c8e0fb2ba5c5f6ee82a9e0ca762d1ae62ebab7c 100644
|
| --- a/third_party/WebKit/Source/core/input/EventHandlingUtil.cpp
|
| +++ b/third_party/WebKit/Source/core/input/EventHandlingUtil.cpp
|
| @@ -9,6 +9,7 @@
|
| #include "core/layout/api/LayoutViewItem.h"
|
| #include "core/paint/PaintLayer.h"
|
| #include "platform/scroll/ScrollableArea.h"
|
| +#include "public/platform/WebMouseEvent.h"
|
|
|
| namespace blink {
|
| namespace EventHandlingUtil {
|
| @@ -110,12 +111,14 @@ LayoutPoint contentPointFromRootFrame(LocalFrame* frame,
|
| MouseEventWithHitTestResults performMouseEventHitTest(
|
| LocalFrame* frame,
|
| const HitTestRequest& request,
|
| - const PlatformMouseEvent& mev) {
|
| + const WebMouseEvent& mev) {
|
| DCHECK(frame);
|
| DCHECK(frame->document());
|
|
|
| return frame->document()->performMouseEventHitTest(
|
| - request, contentPointFromRootFrame(frame, mev.position()), mev);
|
| + request, contentPointFromRootFrame(
|
| + frame, flooredIntPoint(mev.positionInRootFrame())),
|
| + mev);
|
| }
|
|
|
| } // namespace EventHandlingUtil
|
|
|