| Index: Source/core/rendering/RenderText.cpp
|
| diff --git a/Source/core/rendering/RenderText.cpp b/Source/core/rendering/RenderText.cpp
|
| index 4243c39a93dcf01a9bbfd27b84c3308f02073834..f86f43977330a247d07353072aa690bc5982f095 100644
|
| --- a/Source/core/rendering/RenderText.cpp
|
| +++ b/Source/core/rendering/RenderText.cpp
|
| @@ -195,7 +195,7 @@ void RenderText::styleDidChange(StyleDifference diff, const RenderStyle* oldStyl
|
| // We do have to schedule layouts, though, since a style change can force us to
|
| // need to relayout.
|
| if (diff.needsFullLayout()) {
|
| - setNeedsLayoutAndPrefWidthsRecalc();
|
| + setNeedsLayoutAndPrefWidthsRecalcAndFullRepaint();
|
| m_knownToHaveNoOverflowAndNoFallbackFonts = false;
|
| }
|
|
|
| @@ -1410,7 +1410,7 @@ void RenderText::setText(PassRefPtr<StringImpl> text, bool force)
|
| // insertChildNode() fails to set true to owner. To avoid that, we call
|
| // setNeedsLayoutAndPrefWidthsRecalc() only if this RenderText has parent.
|
| if (parent())
|
| - setNeedsLayoutAndPrefWidthsRecalc();
|
| + setNeedsLayoutAndPrefWidthsRecalcAndFullRepaint();
|
| m_knownToHaveNoOverflowAndNoFallbackFonts = false;
|
|
|
| if (AXObjectCache* cache = document().existingAXObjectCache())
|
|
|