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