| Index: trunk/Source/core/dom/FirstLetterPseudoElement.cpp
|
| ===================================================================
|
| --- trunk/Source/core/dom/FirstLetterPseudoElement.cpp (revision 190671)
|
| +++ trunk/Source/core/dom/FirstLetterPseudoElement.cpp (working copy)
|
| @@ -234,7 +234,7 @@
|
| // 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->mutableStyleRef().removeCachedPseudoStyle(FIRST_LETTER);
|
| + styleContainer->style()->removeCachedPseudoStyle(FIRST_LETTER);
|
|
|
| LayoutStyle* pseudoStyle = styleContainer->getCachedPseudoStyle(FIRST_LETTER, rendererContainer->firstLineStyle());
|
| ASSERT(pseudoStyle);
|
| @@ -266,7 +266,7 @@
|
| new RenderTextFragment(nextRenderer->node() ? nextRenderer->node() : &nextRenderer->document(), oldText.impl(), length, oldText.length() - length);
|
| remainingText->setFirstLetterPseudoElement(this);
|
| remainingText->setIsRemainingTextRenderer(true);
|
| - remainingText->setStyle(nextRenderer->mutableStyle());
|
| + remainingText->setStyle(nextRenderer->style());
|
|
|
| if (remainingText->node())
|
| remainingText->node()->setRenderer(remainingText);
|
| @@ -306,7 +306,7 @@
|
| if (!child->isText() && !child->isQuote() && !child->isImage())
|
| continue;
|
|
|
| - child->setPseudoStyle(renderer->mutableStyle());
|
| + child->setPseudoStyle(renderer->style());
|
| }
|
| }
|
|
|
|
|