Index: Source/core/css/MediaValuesCached.cpp |
diff --git a/Source/core/css/MediaValuesCached.cpp b/Source/core/css/MediaValuesCached.cpp |
index c3aa157997a346c57a42e79f40ea28288d3bb97a..2e2811d2879200df05d2262c1d61df82a4d19a3e 100644 |
--- a/Source/core/css/MediaValuesCached.cpp |
+++ b/Source/core/css/MediaValuesCached.cpp |
@@ -77,6 +77,11 @@ bool MediaValuesCached::computeLength(double value, CSSPrimitiveValue::UnitTypes |
return MediaValues::computeLength(value, type, m_data.defaultFontSize, m_data.viewportWidth, m_data.viewportHeight, result); |
} |
+bool MediaValuesCached::computeLength(double value, CSSPrimitiveValue::UnitTypes type, double& result) const |
+{ |
+ return MediaValues::computeLength(value, type, m_data.defaultFontSize, m_data.viewportWidth, m_data.viewportHeight, result); |
+} |
+ |
bool MediaValuesCached::isSafeToSendToAnotherThread() const |
{ |
return hasOneRef(); |