Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index 0e2de37b9bb12cb297abc63e53ec573e77d0b3c0..ed67d3c13a51a80ff78c4f222a4cc9401e4a4ea7 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -905,8 +905,7 @@ void WebViewImpl::getSelectionRootBounds(WebRect& bounds) const |
Element* shadowHost = root->shadowHost(); |
if (shadowHost |
&& (isHTMLTextAreaElement(*shadowHost) |
- || (isHTMLInputElement(*shadowHost) |
- && toHTMLInputElement(*shadowHost).isText()))) |
+ || (isHTMLInputElement(*shadowHost) && toHTMLInputElement(*shadowHost).isTextField()))) |
root = shadowHost; |
IntRect boundingBox = isHTMLHtmlElement(root) |