| Index: Source/core/html/HTMLSelectElement.cpp
|
| diff --git a/Source/core/html/HTMLSelectElement.cpp b/Source/core/html/HTMLSelectElement.cpp
|
| index d334e5fc576e2b3aa95d80aa0edcae68196c0c71..7f7980a8249d5e07c350272086106793f9d59e85 100644
|
| --- a/Source/core/html/HTMLSelectElement.cpp
|
| +++ b/Source/core/html/HTMLSelectElement.cpp
|
| @@ -289,7 +289,7 @@ void HTMLSelectElement::parseAttribute(const QualifiedName& name, const AtomicSt
|
| // Set the attribute value to a number.
|
| // This is important since the style rules for this attribute can determine the appearance property.
|
| int size = value.toInt();
|
| - String attrSize = String::number(size);
|
| + AtomicString attrSize = AtomicString::number(size);
|
| if (attrSize != value) {
|
| // FIXME: This is horribly factored.
|
| if (Attribute* sizeAttribute = ensureUniqueElementData()->getAttributeItem(sizeAttr))
|
| @@ -401,7 +401,7 @@ void HTMLSelectElement::setMultiple(bool multiple)
|
|
|
| void HTMLSelectElement::setSize(int size)
|
| {
|
| - setAttribute(sizeAttr, String::number(size));
|
| + setIntegralAttribute(sizeAttr, size);
|
| }
|
|
|
| Node* HTMLSelectElement::namedItem(const AtomicString& name)
|
|
|