Index: Source/core/html/HTMLOptGroupElement.cpp |
diff --git a/Source/core/html/HTMLOptGroupElement.cpp b/Source/core/html/HTMLOptGroupElement.cpp |
index e7823e2a313eca980bb9a817333e4c19d098986a..5bd687415386d263988ec86418397506ac7ca97b 100644 |
--- a/Source/core/html/HTMLOptGroupElement.cpp |
+++ b/Source/core/html/HTMLOptGroupElement.cpp |
@@ -125,7 +125,7 @@ PassRefPtr<RenderStyle> HTMLOptGroupElement::customStyleForRenderer() |
String HTMLOptGroupElement::groupLabelText() const |
{ |
- String itemText = document().displayStringModifiedByEncoding(getAttribute(labelAttr)); |
+ String itemText = getAttribute(labelAttr); |
// In WinIE, leading and trailing whitespace is ignored in options and optgroups. We match this behavior. |
itemText = itemText.stripWhiteSpace(); |