| Index: sky/engine/core/css/resolver/FontBuilder.cpp
|
| diff --git a/sky/engine/core/css/resolver/FontBuilder.cpp b/sky/engine/core/css/resolver/FontBuilder.cpp
|
| index 47df2c78bb1a8c79132b24864105d2f9646aab23..de3960ac6caeedb1fe543c12b7f6736b56ebe7d2 100644
|
| --- a/sky/engine/core/css/resolver/FontBuilder.cpp
|
| +++ b/sky/engine/core/css/resolver/FontBuilder.cpp
|
| @@ -276,7 +276,7 @@ static float smallerFontSize(float size)
|
| }
|
|
|
| // FIXME: Have to pass RenderStyles here for calc/computed values. This shouldn't be neecessary.
|
| -void FontBuilder::setFontSizeValue(CSSValue* value, RenderStyle* parentStyle, const RenderStyle* rootElementStyle)
|
| +void FontBuilder::setFontSizeValue(CSSValue* value, RenderStyle* parentStyle)
|
| {
|
| if (!value->isPrimitiveValue())
|
| return;
|
| @@ -328,7 +328,7 @@ void FontBuilder::setFontSizeValue(CSSValue* value, RenderStyle* parentStyle, co
|
| // If we have viewport units the conversion will mark the parent style as having viewport units.
|
| bool parentHasViewportUnits = parentStyle->hasViewportUnits();
|
| parentStyle->setHasViewportUnits(false);
|
| - CSSToLengthConversionData conversionData(parentStyle, rootElementStyle, m_document->renderView(), true);
|
| + CSSToLengthConversionData conversionData(parentStyle, m_document->renderView(), true);
|
| if (primitiveValue->isLength())
|
| size = primitiveValue->computeLength<float>(conversionData);
|
| else if (primitiveValue->isCalculatedPercentageWithLength())
|
|
|