Index: Source/core/css/resolver/FontBuilder.cpp |
diff --git a/Source/core/css/resolver/FontBuilder.cpp b/Source/core/css/resolver/FontBuilder.cpp |
index a9903ac0526e3236d952ff43eb2241ee66ca58b6..5ddade3e84e611c4e75d776aca1b0d430fa6cbcb 100644 |
--- a/Source/core/css/resolver/FontBuilder.cpp |
+++ b/Source/core/css/resolver/FontBuilder.cpp |
@@ -374,6 +374,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); |