Index: Source/core/editing/Editor.cpp |
diff --git a/Source/core/editing/Editor.cpp b/Source/core/editing/Editor.cpp |
index cd741dc15f5cde093c96eb541e9333f716ba8907..0dc1f6d4bb8980881db641d741b1965ecd8333d8 100644 |
--- a/Source/core/editing/Editor.cpp |
+++ b/Source/core/editing/Editor.cpp |
@@ -959,7 +959,7 @@ void Editor::setBaseWritingDirection(WritingDirection direction) |
return; |
focusedElement->setAttribute(dirAttr, direction == LeftToRightWritingDirection ? "ltr" : "rtl"); |
focusedElement->dispatchInputEvent(); |
- frame().document()->updateStyleIfNeeded(); |
+ frame().document()->updateRenderTreeIfNeeded(); |
return; |
} |