Commit ccee1e3e authored by timloh@chromium.org's avatar timloh@chromium.org

Remove unused flag MediaQueryExp::isInteger

Review URL: https://codereview.chromium.org/476673002

git-svn-id: svn://svn.chromium.org/blink/trunk@180266 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 88ef783a
......@@ -242,7 +242,6 @@ PassOwnPtrWillBeRawPtr<MediaQueryExp> MediaQueryExp::createIfValid(const String&
expValue.value = value->fValue;
expValue.unit = (CSSPrimitiveValue::UnitType)value->unit;
expValue.isValue = true;
expValue.isInteger = value->isInt;
} else if (featureWithPositiveInteger(lowerMediaFeature, value)
|| featureWithPositiveNumber(lowerMediaFeature, value)
|| featureWithZeroOrOne(lowerMediaFeature, value)) {
......@@ -252,7 +251,6 @@ PassOwnPtrWillBeRawPtr<MediaQueryExp> MediaQueryExp::createIfValid(const String&
expValue.value = value->fValue;
expValue.unit = CSSPrimitiveValue::CSS_NUMBER;
expValue.isValue = true;
expValue.isInteger = value->isInt;
}
isValid = (expValue.isID || expValue.isValue);
......
......@@ -49,7 +49,6 @@ struct MediaQueryExpValue {
bool isID;
bool isValue;
bool isRatio;
bool isInteger;
MediaQueryExpValue()
: id(CSSValueInvalid)
......@@ -60,7 +59,6 @@ struct MediaQueryExpValue {
, isID(false)
, isValue(false)
, isRatio(false)
, isInteger(false)
{
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment