Index: Source/core/html/HTMLInputElement.cpp |
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp |
index 5a4d9f968592635159934403814f0f676f48770f..7f508b184eac5a307215435b9e139d9666dfb8e4 100644 |
--- a/Source/core/html/HTMLInputElement.cpp |
+++ b/Source/core/html/HTMLInputElement.cpp |
@@ -798,9 +798,9 @@ String HTMLInputElement::altText() const |
String alt = fastGetAttribute(altAttr); |
// fall back to title attribute |
if (alt.isNull()) |
- alt = getAttribute(titleAttr); |
+ alt = fastGetAttribute(titleAttr); |
if (alt.isNull()) |
- alt = getAttribute(valueAttr); |
+ alt = fastGetAttribute(valueAttr); |
if (alt.isEmpty()) |
alt = locale().queryString(blink::WebLocalizedString::InputElementAltText); |
return alt; |