Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
index 9eb70c2015db56c96005de550ad465a867b40702..0bc07aa5b82eb67b744ba9b335854dd1889ae529 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -1653,7 +1653,7 @@ void WebLocalFrameImpl::setFindEndstateFocusAndSelection() |
// example, focus links if we have found text within the link. |
Node* node = activeMatch->firstNode(); |
if (node && node->isInShadowTree()) { |
- if (Node* host = node->shadowHost()) { |
+ if (Node* host = node->ownerShadowHost()) { |
if (isHTMLInputElement(*host) || isHTMLTextAreaElement(*host)) |
node = host; |
} |