summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/accessibility/AXObjectCache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/accessibility/AXObjectCache.cpp')
-rw-r--r--Source/WebCore/accessibility/AXObjectCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/accessibility/AXObjectCache.cpp b/Source/WebCore/accessibility/AXObjectCache.cpp
index a01cb59..b471201 100644
--- a/Source/WebCore/accessibility/AXObjectCache.cpp
+++ b/Source/WebCore/accessibility/AXObjectCache.cpp
@@ -616,7 +616,7 @@ void AXObjectCache::textMarkerDataForVisiblePosition(TextMarkerData& textMarkerD
return;
if (domNode->isHTMLElement()) {
- InputElement* inputElement = toInputElement(static_cast<Element*>(domNode));
+ InputElement* inputElement = domNode->toInputElement();
if (inputElement && inputElement->isPasswordField())
return;
}