| Index: Source/core/rendering/RenderCombineText.cpp
|
| diff --git a/Source/core/rendering/RenderCombineText.cpp b/Source/core/rendering/RenderCombineText.cpp
|
| index c7f911171800c5b8decccadf504e8c50eee63b43..a766b30e9aa9137b9064b521c17154c9c950f5a5 100644
|
| --- a/Source/core/rendering/RenderCombineText.cpp
|
| +++ b/Source/core/rendering/RenderCombineText.cpp
|
| @@ -116,7 +116,7 @@ void RenderCombineText::updateFont()
|
|
|
| FontSelector* fontSelector = style()->font().fontSelector();
|
|
|
| - bool shouldUpdateFont = style()->setFontDescription(description); // Need to change font orientation to horizontal.
|
| + bool shouldUpdateFont = mutableStyleRef().setFontDescription(description); // Need to change font orientation to horizontal.
|
|
|
| if (m_combinedTextWidth <= emWidth) {
|
| m_scaleX = 1.0f;
|
| @@ -132,7 +132,7 @@ void RenderCombineText::updateFont()
|
| m_combinedTextWidth = runWidth;
|
|
|
| // Replace my font with the new one.
|
| - shouldUpdateFont = style()->setFontDescription(description);
|
| + shouldUpdateFont = mutableStyleRef().setFontDescription(description);
|
| break;
|
| }
|
| }
|
|
|