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 631c93058927d6971bb07e402de4af512413f1e9..21987cb29ebbaa6345a769732191bfabe33047f0 100644 |
--- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
@@ -744,7 +744,7 @@ void WebFrameWidgetImpl::handleMouseDown(LocalFrame& mainFrame, |
point = m_localRoot->frameView()->rootFrameToContents(point); |
HitTestResult result( |
m_localRoot->frame()->eventHandler().hitTestResultAtPoint(point)); |
- result.setToShadowHostIfInUserAgentShadowRoot(); |
+ result.setToShadowHostIfInRestrictedShadowRoot(); |
Node* hitNode = result.innerNode(); |
if (!result.scrollbar() && hitNode && hitNode->layoutObject() && |
@@ -1115,7 +1115,7 @@ HitTestResult WebFrameWidgetImpl::hitTestResultForRootFramePos( |
HitTestResult result = |
m_localRoot->frame()->eventHandler().hitTestResultAtPoint( |
docPoint, HitTestRequest::ReadOnly | HitTestRequest::Active); |
- result.setToShadowHostIfInUserAgentShadowRoot(); |
+ result.setToShadowHostIfInRestrictedShadowRoot(); |
return result; |
} |