Index: trunk/Source/core/rendering/RenderCombineText.cpp |
=================================================================== |
--- trunk/Source/core/rendering/RenderCombineText.cpp (revision 190671) |
+++ trunk/Source/core/rendering/RenderCombineText.cpp (working copy) |
@@ -125,7 +125,7 @@ |
FontSelector* fontSelector = style()->font().fontSelector(); |
- bool shouldUpdateFont = mutableStyleRef().setFontDescription(description); // Need to change font orientation to horizontal. |
+ bool shouldUpdateFont = style()->setFontDescription(description); // Need to change font orientation to horizontal. |
if (m_combinedTextWidth <= emWidth) { |
m_scaleX = 1.0f; |
@@ -141,7 +141,7 @@ |
m_combinedTextWidth = runWidth; |
// Replace my font with the new one. |
- shouldUpdateFont = mutableStyleRef().setFontDescription(description); |
+ shouldUpdateFont = style()->setFontDescription(description); |
break; |
} |
} |