Index: Source/core/css/resolver/FontBuilder.cpp |
diff --git a/Source/core/css/resolver/FontBuilder.cpp b/Source/core/css/resolver/FontBuilder.cpp |
index 8b8dad0e2dab18b652f2ac2c405d6b9748f9b7d3..a4dd7ce8ae052955c2e0fe6fe209edf50bce9a8a 100644 |
--- a/Source/core/css/resolver/FontBuilder.cpp |
+++ b/Source/core/css/resolver/FontBuilder.cpp |
@@ -373,6 +373,13 @@ void FontBuilder::setWeightLighter() |
scope.fontDescription().setWeight(scope.fontDescription().lighterWeight()); |
} |
+void FontBuilder::setStretch(FontStretch fontStretch) |
+{ |
+ FontDescriptionChangeScope scope(this); |
+ |
+ scope.fontDescription().setStretch(fontStretch); |
+} |
+ |
void FontBuilder::setFontVariantLigaturesInitial() |
{ |
FontDescriptionChangeScope scope(this); |