Index: Source/core/html/HTMLInputElement.cpp |
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp |
index ff56d520c00cb7d6095a2a82f1bea9a63858cba1..547d7cfb96ced616fd4ac3e240291244842c2903 100644 |
--- a/Source/core/html/HTMLInputElement.cpp |
+++ b/Source/core/html/HTMLInputElement.cpp |
@@ -805,9 +805,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; |