| Index: Source/core/dom/FirstLetterPseudoElement.cpp
|
| diff --git a/Source/core/dom/FirstLetterPseudoElement.cpp b/Source/core/dom/FirstLetterPseudoElement.cpp
|
| index 6384979c13b3c8969fa837870eb718be1ca8fe7f..74142a6b487df87b13fa5174608f5f06ce81df79 100644
|
| --- a/Source/core/dom/FirstLetterPseudoElement.cpp
|
| +++ b/Source/core/dom/FirstLetterPseudoElement.cpp
|
| @@ -240,7 +240,7 @@ RenderStyle* FirstLetterPseudoElement::styleForFirstLetter(RenderObject* rendere
|
| // We always force the pseudo style to recompute as the first-letter style
|
| // computed by the style container may not have taken the renderers styles
|
| // into account.
|
| - styleContainer->style()->removeCachedPseudoStyle(FIRST_LETTER);
|
| + styleContainer->deprecatedMutableStyle()->removeCachedPseudoStyle(FIRST_LETTER);
|
|
|
| RenderStyle* pseudoStyle = styleContainer->getCachedPseudoStyle(FIRST_LETTER, rendererContainer->firstLineStyle());
|
| ASSERT(pseudoStyle);
|
| @@ -272,7 +272,7 @@ void FirstLetterPseudoElement::attachFirstLetterTextRenderers()
|
| new RenderTextFragment(nextRenderer->node() ? nextRenderer->node() : &nextRenderer->document(), oldText.impl(), length, oldText.length() - length);
|
| remainingText->setFirstLetterPseudoElement(this);
|
| remainingText->setIsRemainingTextRenderer(true);
|
| - remainingText->setStyle(nextRenderer->style());
|
| + remainingText->setStyle(nextRenderer->deprecatedMutableStyle());
|
|
|
| if (remainingText->node())
|
| remainingText->node()->setRenderer(remainingText);
|
| @@ -312,7 +312,7 @@ void FirstLetterPseudoElement::didRecalcStyle(StyleRecalcChange)
|
| if (!child->isText() && !child->isQuote() && !child->isImage())
|
| continue;
|
|
|
| - child->setPseudoStyle(renderer->style());
|
| + child->setPseudoStyle(renderer->deprecatedMutableStyle());
|
| }
|
| }
|
|
|
|
|