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 65fcf0b8217be3baae17a27b6a4ff54c4b9ae359..6731ec3937db7a0d36b0602cb861e86b78bf6be7 100644 |
--- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
@@ -407,6 +407,14 @@ void WebFrameWidgetImpl::setBaseBackgroundColor(WebColor color) |
m_localRoot->frameView()->setBaseBackgroundColor(color); |
} |
+HitTestResult WebFrameWidgetImpl::coreHitTestResultAt(const WebPoint& pointInViewport) |
+{ |
+ DocumentLifecycle::AllowThrottlingScope throttlingScope(m_localRoot->frame()->document()->lifecycle()); |
+ FrameView* view = m_localRoot->frameView(); |
+ IntPoint pointInRootFrame = view->contentsToFrame(view->viewportToContents(pointInViewport)); |
+ return hitTestResultForRootFramePos(pointInRootFrame); |
+} |
+ |
void WebFrameWidgetImpl::scheduleAnimation() |
{ |
if (m_layerTreeView) { |