Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(544)

Unified Diff: Source/core/css/MediaQueryExp.cpp

Issue 476673002: Remove unused flag MediaQueryExp::isInteger (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@pp5
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/css/MediaQueryExp.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/MediaQueryExp.cpp
diff --git a/Source/core/css/MediaQueryExp.cpp b/Source/core/css/MediaQueryExp.cpp
index 17b06424839e1d249b07d5f92ab84f3daab3cb69..a6b1c5a4a8594cc3df970060bd33dcf87fab6f98 100644
--- a/Source/core/css/MediaQueryExp.cpp
+++ b/Source/core/css/MediaQueryExp.cpp
@@ -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);
« no previous file with comments | « Source/core/css/MediaQueryExp.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698