| Index: Source/core/html/HTMLOptionElement.cpp
|
| diff --git a/Source/core/html/HTMLOptionElement.cpp b/Source/core/html/HTMLOptionElement.cpp
|
| index 614e9ccec707a1a06ccbc06e37ad1f311482efa8..d2f6453283800499cca837074cd100a48b8bc5e7 100644
|
| --- a/Source/core/html/HTMLOptionElement.cpp
|
| +++ b/Source/core/html/HTMLOptionElement.cpp
|
| @@ -60,7 +60,7 @@ PassRefPtr<HTMLOptionElement> HTMLOptionElement::create(Document& document)
|
| return adoptRef(new HTMLOptionElement(document));
|
| }
|
|
|
| -PassRefPtr<HTMLOptionElement> HTMLOptionElement::createForJSConstructor(Document& document, const String& data, const String& value,
|
| +PassRefPtr<HTMLOptionElement> HTMLOptionElement::createForJSConstructor(Document& document, const String& data, const AtomicString& value,
|
| bool defaultSelected, bool selected, ExceptionState& exceptionState)
|
| {
|
| RefPtr<HTMLOptionElement> element = adoptRef(new HTMLOptionElement(document));
|
| @@ -202,7 +202,7 @@ String HTMLOptionElement::value() const
|
| return collectOptionInnerText().stripWhiteSpace(isHTMLSpace<UChar>).simplifyWhiteSpace(isHTMLSpace<UChar>);
|
| }
|
|
|
| -void HTMLOptionElement::setValue(const String& value)
|
| +void HTMLOptionElement::setValue(const AtomicString& value)
|
| {
|
| setAttribute(valueAttr, value);
|
| }
|
| @@ -285,7 +285,7 @@ String HTMLOptionElement::label() const
|
| return collectOptionInnerText().stripWhiteSpace(isHTMLSpace<UChar>).simplifyWhiteSpace(isHTMLSpace<UChar>);
|
| }
|
|
|
| -void HTMLOptionElement::setLabel(const String& label)
|
| +void HTMLOptionElement::setLabel(const AtomicString& label)
|
| {
|
| setAttribute(labelAttr, label);
|
| }
|
|
|