Index: Source/core/rendering/RenderText.cpp |
diff --git a/Source/core/rendering/RenderText.cpp b/Source/core/rendering/RenderText.cpp |
index c1454580badc4e41a49272dc4b68a2eb55b8e053..82959cfd05393a3df6b56dddfd02d1e8bd7f4b20 100644 |
--- a/Source/core/rendering/RenderText.cpp |
+++ b/Source/core/rendering/RenderText.cpp |
@@ -205,7 +205,7 @@ void RenderText::styleDidChange(StyleDifference diff, const RenderStyle* oldStyl |
transformText(); |
if (!text().containsOnlyWhitespace()) |
- newStyle->font().willUseFontData(); |
+ newStyle->font().willUseFontData(text()); |
} |
void RenderText::removeAndDestroyTextBoxes() |