| Index: Source/core/editing/Editor.cpp
|
| diff --git a/Source/core/editing/Editor.cpp b/Source/core/editing/Editor.cpp
|
| index 3072753e56e2c991c7a04ae51eaf206e5c9a1459..854c544d4a55e0463de62533b6bf93ec63298f4a 100644
|
| --- a/Source/core/editing/Editor.cpp
|
| +++ b/Source/core/editing/Editor.cpp
|
| @@ -1088,7 +1088,7 @@ void Editor::setBaseWritingDirection(WritingDirection direction)
|
| return;
|
| }
|
|
|
| - RefPtr<StylePropertySet> style = StylePropertySet::create();
|
| + RefPtr<MutableStylePropertySet> style = MutableStylePropertySet::create();
|
| style->setProperty(CSSPropertyDirection, direction == LeftToRightWritingDirection ? "ltr" : direction == RightToLeftWritingDirection ? "rtl" : "inherit", false);
|
| applyParagraphStyleToSelection(style.get(), EditActionSetWritingDirection);
|
| }
|
|
|