Index: Source/core/css/CSSToLengthConversionData.cpp |
diff --git a/Source/core/css/CSSToLengthConversionData.cpp b/Source/core/css/CSSToLengthConversionData.cpp |
index 3669e1df59cd8835d9628b1cf74e86c262d8f9ed..e4311a3ff38df7c3b6c0c4a2abec6ee0ef848a5c 100644 |
--- a/Source/core/css/CSSToLengthConversionData.cpp |
+++ b/Source/core/css/CSSToLengthConversionData.cpp |
@@ -108,4 +108,10 @@ double CSSToLengthConversionData::viewportMaxPercent() const |
return std::max(m_viewportSize.width(), m_viewportSize.height()) / 100; |
} |
+float CSSToLengthConversionData::remFontSize() const |
+{ |
+ m_style->setHasRemUnits(); |
+ return m_fontSizes.rem(); |
+} |
+ |
} // namespace blink |