Index: Source/core/html/forms/BaseButtonInputType.cpp |
diff --git a/Source/core/html/forms/BaseButtonInputType.cpp b/Source/core/html/forms/BaseButtonInputType.cpp |
index 55505510e813848a55ab8e9e9df9a85c3bb4b392..a41645c24284c83c60b7c24cd22dce681e003b97 100644 |
--- a/Source/core/html/forms/BaseButtonInputType.cpp |
+++ b/Source/core/html/forms/BaseButtonInputType.cpp |
@@ -76,7 +76,7 @@ bool BaseButtonInputType::storesValueSeparateFromAttribute() |
void BaseButtonInputType::setValue(const String& sanitizedValue, bool, TextFieldEventBehavior) |
{ |
- element().setAttribute(valueAttr, sanitizedValue); |
+ element().setAttribute(valueAttr, AtomicString(sanitizedValue)); |
} |
} // namespace WebCore |