| Index: third_party/WebKit/Source/core/dom/Text.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Text.cpp b/third_party/WebKit/Source/core/dom/Text.cpp
|
| index b592b24ec596f23f3ea67e09c69d10587f9a7ec9..9d60fabf9d02825422fe45a600f262678211d94b 100644
|
| --- a/third_party/WebKit/Source/core/dom/Text.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Text.cpp
|
| @@ -422,16 +422,13 @@ static bool shouldUpdateLayoutByReattaching(const Text& textNode, LayoutText* te
|
| return false;
|
| }
|
|
|
| -void Text::updateTextLayoutObject(unsigned offsetOfReplacedData, unsigned lengthOfReplacedData, RecalcStyleBehavior recalcStyleBehavior)
|
| +void Text::updateTextLayoutObject(unsigned offsetOfReplacedData, unsigned lengthOfReplacedData)
|
| {
|
| if (!inActiveDocument())
|
| return;
|
| LayoutText* textLayoutObject = layoutObject();
|
| if (shouldUpdateLayoutByReattaching(*this, textLayoutObject)) {
|
| lazyReattachIfAttached();
|
| - // FIXME: Editing should be updated so this is not neccesary.
|
| - if (recalcStyleBehavior == DeprecatedRecalcStyleImmediatlelyForEditing)
|
| - document().updateStyleAndLayoutTree();
|
| return;
|
| }
|
| textLayoutObject->setTextWithOffset(dataImpl(), offsetOfReplacedData, lengthOfReplacedData);
|
|
|