Index: Source/core/css/MediaQueryEvaluator.cpp |
diff --git a/Source/core/css/MediaQueryEvaluator.cpp b/Source/core/css/MediaQueryEvaluator.cpp |
index 3674430cd896a652d2b662b2b47d40b8107035f4..e4154aeb590342538b83553f3b48f6ac4c057576 100644 |
--- a/Source/core/css/MediaQueryEvaluator.cpp |
+++ b/Source/core/css/MediaQueryEvaluator.cpp |
@@ -34,6 +34,7 @@ |
#include "core/css/CSSAspectRatioValue.h" |
#include "core/css/CSSHelper.h" |
#include "core/css/CSSPrimitiveValue.h" |
+#include "core/css/CSSToLengthConversionData.h" |
#include "core/css/MediaFeatureNames.h" |
#include "core/css/MediaList.h" |
#include "core/css/MediaQuery.h" |
@@ -347,7 +348,7 @@ static bool computeLength(CSSValue* value, bool strict, RenderStyle* initialStyl |
if (primitiveValue->isLength()) { |
// Relative (like EM) and root relative (like REM) units are always resolved against the initial values |
// for media queries, hence the two initialStyle parameters. |
- result = primitiveValue->computeLength<int>(initialStyle, initialStyle, 1.0 /* multiplier */, true /* computingFontSize */); |
+ result = primitiveValue->computeLength<int>(CSSToLengthConversionData(initialStyle, initialStyle, 1.0 /* zoom */, true /* computingFontSize */)); |
return true; |
} |