| Index: Source/core/editing/EditorCommand.cpp
|
| diff --git a/Source/core/editing/EditorCommand.cpp b/Source/core/editing/EditorCommand.cpp
|
| index 8c6291af1e013a5190945fdca9431aaa2e9e45aa..b98f3da95e33c50f6c6ba87cf90b4f5502a15cc9 100644
|
| --- a/Source/core/editing/EditorCommand.cpp
|
| +++ b/Source/core/editing/EditorCommand.cpp
|
| @@ -489,7 +489,7 @@ static bool executeInsertHorizontalRule(Frame& frame, Event*, EditorCommandSourc
|
| ASSERT(frame.document());
|
| RefPtr<HTMLHRElement> rule = HTMLHRElement::create(*frame.document());
|
| if (!value.isEmpty())
|
| - rule->setIdAttribute(value);
|
| + rule->setIdAttribute(AtomicString(value));
|
| return executeInsertNode(frame, rule.release());
|
| }
|
|
|
|
|