Index: Source/core/html/forms/BaseCheckableInputType.cpp |
diff --git a/Source/core/html/forms/BaseCheckableInputType.cpp b/Source/core/html/forms/BaseCheckableInputType.cpp |
index 0b1e73943d3aea80b3bc5a99792b4ac899798d2e..7ffe40b29da09b5859feb4eb739f8ef965be8d86 100644 |
--- a/Source/core/html/forms/BaseCheckableInputType.cpp |
+++ b/Source/core/html/forms/BaseCheckableInputType.cpp |
@@ -103,7 +103,7 @@ bool BaseCheckableInputType::storesValueSeparateFromAttribute() |
void BaseCheckableInputType::setValue(const String& sanitizedValue, bool, TextFieldEventBehavior) |
{ |
- element().setAttribute(valueAttr, sanitizedValue); |
+ element().setAttribute(valueAttr, AtomicString(sanitizedValue)); |
} |
bool BaseCheckableInputType::isCheckable() |