| Index: Source/web/tests/TouchActionTest.cpp
|
| diff --git a/Source/web/tests/TouchActionTest.cpp b/Source/web/tests/TouchActionTest.cpp
|
| index de93614cee3cead7dcbb94c420365161acbc0d02..27b76d026b06351fe25df366038e2e4109f1ca2d 100644
|
| --- a/Source/web/tests/TouchActionTest.cpp
|
| +++ b/Source/web/tests/TouchActionTest.cpp
|
| @@ -259,7 +259,7 @@ void TouchActionTest::runTestOnTree(ContainerNode* root, WebView* webView, Touch
|
| // we intended. This is the easiest way for a test to be broken, but has nothing really
|
| // to do with touch action.
|
| // Note that we can't use WebView's hit test API because it doesn't look into shadow DOM.
|
| - IntPoint docPoint(frameView->windowToContents(clientPoint));
|
| + IntPoint docPoint(frameView->rootFrameToContents(clientPoint));
|
| HitTestResult result = frame->eventHandler().hitTestResultAtPoint(docPoint, HitTestRequest::ReadOnly | HitTestRequest::Active);
|
| ASSERT_EQ(element, result.innerElement()) << "Unexpected hit test result " << failureContextPos
|
| << " Got element: \"" << result.innerElement()->outerHTML().stripWhiteSpace().left(80).ascii().data() << "\""
|
|
|