Index: third_party/WebKit/Source/web/PageWidgetDelegate.cpp |
diff --git a/third_party/WebKit/Source/web/PageWidgetDelegate.cpp b/third_party/WebKit/Source/web/PageWidgetDelegate.cpp |
index 27fcf548bf62caa8fb8b4a1393ad661bd3bd67ed..9f5e391fce9aea30990cf94c82a3d7c81a17c93d 100644 |
--- a/third_party/WebKit/Source/web/PageWidgetDelegate.cpp |
+++ b/third_party/WebKit/Source/web/PageWidgetDelegate.cpp |
@@ -128,7 +128,7 @@ WebInputEventResult PageWidgetDelegate::handleInputEvent( |
flooredIntPoint(mouseEvent.positionInRootFrame()))); |
HitTestResult result = root->eventHandler().hitTestResultAtPoint( |
docPoint, HitTestRequest::ReadOnly | HitTestRequest::Active); |
- result.setToShadowHostIfInUserAgentShadowRoot(); |
+ result.setToShadowHostIfInRestrictedShadowRoot(); |
if (result.innerNodeFrame()) { |
Document* document = result.innerNodeFrame()->document(); |
if (document) { |