| Index: sky/engine/core/dom/TreeScope.cpp
|
| diff --git a/sky/engine/core/dom/TreeScope.cpp b/sky/engine/core/dom/TreeScope.cpp
|
| index 1093c2756f7f22d39daf0822744d6e390ce6d8ca..c34be1567dbb97e17cf277123c60cc4cb459b30d 100644
|
| --- a/sky/engine/core/dom/TreeScope.cpp
|
| +++ b/sky/engine/core/dom/TreeScope.cpp
|
| @@ -198,9 +198,7 @@ HitTestResult hitTestInDocument(const Document* document, int x, int y)
|
| if (!frameView)
|
| return HitTestResult();
|
|
|
| - float scaleFactor = frame->pageZoomFactor();
|
| - IntPoint point = roundedIntPoint(FloatPoint(x * scaleFactor, y * scaleFactor));
|
| -
|
| + IntPoint point(x, y);
|
| if (!frameView->visibleContentRect().contains(point))
|
| return HitTestResult();
|
|
|
|
|