Index: Source/core/dom/Text.cpp |
diff --git a/Source/core/dom/Text.cpp b/Source/core/dom/Text.cpp |
index d79941897d3214cac794c0fe4f527a0e75efc44e..5e390ccb0a4e162d83aace17811093f6b548a2fd 100644 |
--- a/Source/core/dom/Text.cpp |
+++ b/Source/core/dom/Text.cpp |
@@ -345,7 +345,7 @@ void Text::updateTextRenderer(unsigned offsetOfReplacedData, unsigned lengthOfRe |
lazyReattachIfAttached(); |
// FIXME: Editing should be updated so this is not neccesary. |
if (recalcStyleBehavior == DeprecatedRecalcStyleImmediatlelyForEditing) |
- document().updateStyleIfNeeded(); |
+ document().updateRenderTreeIfNeeded(); |
return; |
} |
textRenderer->setTextWithOffset(dataImpl(), offsetOfReplacedData, lengthOfReplacedData); |