| Index: third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp b/third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp
|
| index b2c7a684f433a72935a52ae22421604a84b378eb..6e34ac6d337a8e2c1452b35926ec420a36822eb6 100644
|
| --- a/third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp
|
| +++ b/third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp
|
| @@ -393,7 +393,7 @@ static bool deviceWidthMediaFeatureEval(const MediaQueryExpValue& value, MediaFe
|
|
|
| static bool heightMediaFeatureEval(const MediaQueryExpValue& value, MediaFeaturePrefix op, const MediaValues& mediaValues)
|
| {
|
| - int height = mediaValues.viewportHeight();
|
| + float height = mediaValues.viewportHeight();
|
| if (value.isValid())
|
| return computeLengthAndCompare(value, op, mediaValues, height);
|
|
|
| @@ -402,7 +402,7 @@ static bool heightMediaFeatureEval(const MediaQueryExpValue& value, MediaFeature
|
|
|
| static bool widthMediaFeatureEval(const MediaQueryExpValue& value, MediaFeaturePrefix op, const MediaValues& mediaValues)
|
| {
|
| - int width = mediaValues.viewportWidth();
|
| + float width = mediaValues.viewportWidth();
|
| if (value.isValid())
|
| return computeLengthAndCompare(value, op, mediaValues, width);
|
|
|
|
|