Index: Source/core/html/HTMLOptionElement.cpp |
diff --git a/Source/core/html/HTMLOptionElement.cpp b/Source/core/html/HTMLOptionElement.cpp |
index dbe4d00c1484d4c4bbfa5855a156135888e0b088..85dffe1e993a33ce1dcfedb8d1253e4b9abd6248 100644 |
--- a/Source/core/html/HTMLOptionElement.cpp |
+++ b/Source/core/html/HTMLOptionElement.cpp |
@@ -123,9 +123,7 @@ String HTMLOptionElement::text() const |
if (text.isEmpty()) |
text = collectOptionInnerText(); |
- // FIXME: Is displayStringModifiedByEncoding helpful here? |
- // If it's correct here, then isn't it needed in the value and label functions too? |
- return document.displayStringModifiedByEncoding(text).stripWhiteSpace(isHTMLSpace<UChar>).simplifyWhiteSpace(isHTMLSpace<UChar>); |
+ return text.stripWhiteSpace(isHTMLSpace<UChar>).simplifyWhiteSpace(isHTMLSpace<UChar>); |
} |
void HTMLOptionElement::setText(const String &text, ExceptionState& es) |