| Index: Source/core/css/resolver/StyleResolver.cpp
|
| diff --git a/Source/core/css/resolver/StyleResolver.cpp b/Source/core/css/resolver/StyleResolver.cpp
|
| index 6a3b2ac47f325aae8c9a7622a86f31013bde7b99..4d133423fba79219410c2fa05b99da5b2a32415d 100644
|
| --- a/Source/core/css/resolver/StyleResolver.cpp
|
| +++ b/Source/core/css/resolver/StyleResolver.cpp
|
| @@ -898,7 +898,7 @@ PassRefPtr<ComputedStyle> StyleResolver::styleForText(Text* textNode)
|
| Node* parentNode = LayoutTreeBuilderTraversal::parent(*textNode);
|
| if (!parentNode || !parentNode->computedStyle())
|
| return initialStyleForElement();
|
| - return parentNode->mutableComputedStyle();
|
| + return ComputedStyle::createWithInheritableProperties(parentNode->computedStyleRef());
|
| }
|
|
|
| void StyleResolver::updateFont(StyleResolverState& state)
|
|
|