Index: Source/core/css/resolver/StyleBuilderConverter.cpp |
diff --git a/Source/core/css/resolver/StyleBuilderConverter.cpp b/Source/core/css/resolver/StyleBuilderConverter.cpp |
index dadc1ec303a7ca5137b07683f4f382574e585638..ae20056edddef5b30dd220bca15ca79ec56116d9 100644 |
--- a/Source/core/css/resolver/StyleBuilderConverter.cpp |
+++ b/Source/core/css/resolver/StyleBuilderConverter.cpp |
@@ -225,11 +225,7 @@ FontDescription::Size StyleBuilderConverter::convertFontSize(StyleResolverState& |
{ |
CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value); |
- FontDescription::Size parentSize(0, 0.0f, false); |
- |
- // FIXME: Find out when parentStyle could be 0? |
- if (state.parentStyle()) |
- parentSize = state.parentFontDescription().size(); |
+ FontDescription::Size parentSize = state.parentFontDescription().size(); |
if (CSSValueID valueID = primitiveValue->getValueID()) { |
switch (valueID) { |