| Index: third_party/WebKit/Source/core/css/MediaQueryExp.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/MediaQueryExp.cpp b/third_party/WebKit/Source/core/css/MediaQueryExp.cpp
|
| index c40e9e6ffda17c50248552a3061254005ccbcb72..4db0f3ba1113e8a3837c7af8894ff94e998b19ad 100644
|
| --- a/third_party/WebKit/Source/core/css/MediaQueryExp.cpp
|
| +++ b/third_party/WebKit/Source/core/css/MediaQueryExp.cpp
|
| @@ -225,11 +225,13 @@ MediaQueryExp* MediaQueryExp::createIfValid(
|
| expValue.isID = true;
|
| } else if (token.type() == NumberToken || token.type() == PercentageToken ||
|
| token.type() == DimensionToken) {
|
| - // Check for numeric token types since it is only safe for these types to call numericValue.
|
| + // Check for numeric token types since it is only safe for these types to
|
| + // call numericValue.
|
| if (featureWithValidDensity(lowerMediaFeature, token) ||
|
| featureWithValidPositiveLength(lowerMediaFeature, token)) {
|
| - // Media features that must have non-negative <density>, ie. dppx, dpi or dpcm,
|
| - // or Media features that must have non-negative <length> or number value.
|
| + // Media features that must have non-negative <density>, ie. dppx, dpi
|
| + // or dpcm, or Media features that must have non-negative <length> or
|
| + // number value.
|
| expValue.value = token.numericValue();
|
| expValue.unit = token.unitType();
|
| expValue.isValue = true;
|
|
|