| Index: Source/core/testing/Internals.cpp
|
| diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
|
| index 466a92a9cb2b3231c048308ed06e36f6dd754991..f0c308a4aa384e11cbd4b007701a7e48980ceb96 100644
|
| --- a/Source/core/testing/Internals.cpp
|
| +++ b/Source/core/testing/Internals.cpp
|
| @@ -977,7 +977,7 @@ DOMPoint* Internals::touchPositionAdjustedToBestClickableNode(long x, long y, lo
|
| IntPoint point(x + radius.width(), y + radius.height());
|
|
|
| EventHandler& eventHandler = document->frame()->eventHandler();
|
| - IntPoint hitTestPoint = document->frame()->view()->windowToContents(point);
|
| + IntPoint hitTestPoint = document->frame()->view()->rootFrameToContents(point);
|
| HitTestResult result = eventHandler.hitTestResultAtPoint(hitTestPoint, HitTestRequest::ReadOnly | HitTestRequest::Active | HitTestRequest::ListBased, LayoutSize(radius));
|
|
|
| Node* targetNode = 0;
|
| @@ -1004,7 +1004,7 @@ Node* Internals::touchNodeAdjustedToBestClickableNode(long x, long y, long width
|
| IntPoint point(x + radius.width(), y + radius.height());
|
|
|
| EventHandler& eventHandler = document->frame()->eventHandler();
|
| - IntPoint hitTestPoint = document->frame()->view()->windowToContents(point);
|
| + IntPoint hitTestPoint = document->frame()->view()->rootFrameToContents(point);
|
| HitTestResult result = eventHandler.hitTestResultAtPoint(hitTestPoint, HitTestRequest::ReadOnly | HitTestRequest::Active | HitTestRequest::ListBased, LayoutSize(radius));
|
|
|
| Node* targetNode = 0;
|
| @@ -1027,7 +1027,7 @@ DOMPoint* Internals::touchPositionAdjustedToBestContextMenuNode(long x, long y,
|
| IntPoint point(x + radius.width(), y + radius.height());
|
|
|
| EventHandler& eventHandler = document->frame()->eventHandler();
|
| - IntPoint hitTestPoint = document->frame()->view()->windowToContents(point);
|
| + IntPoint hitTestPoint = document->frame()->view()->rootFrameToContents(point);
|
| HitTestResult result = eventHandler.hitTestResultAtPoint(hitTestPoint, HitTestRequest::ReadOnly | HitTestRequest::Active | HitTestRequest::ListBased, LayoutSize(radius));
|
|
|
| Node* targetNode = 0;
|
| @@ -1054,7 +1054,7 @@ Node* Internals::touchNodeAdjustedToBestContextMenuNode(long x, long y, long wid
|
| IntPoint point(x + radius.width(), y + radius.height());
|
|
|
| EventHandler& eventHandler = document->frame()->eventHandler();
|
| - IntPoint hitTestPoint = document->frame()->view()->windowToContents(point);
|
| + IntPoint hitTestPoint = document->frame()->view()->rootFrameToContents(point);
|
| HitTestResult result = eventHandler.hitTestResultAtPoint(hitTestPoint, HitTestRequest::ReadOnly | HitTestRequest::Active | HitTestRequest::ListBased, LayoutSize(radius));
|
|
|
| Node* targetNode = 0;
|
|
|