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

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

Issue 2346193002: Split CSSPrimitiveValue into CSSPrimitiveValue and CSSIdentifierValue (Closed)
Patch Set: Rebase please work Created 4 years, 3 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
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 446f9fc81689f44fdc74960af8fd0ade20c4884d..b4234534fe4194013e66fc7d5ed74f19e262a0b1 100644
--- a/third_party/WebKit/Source/core/css/MediaQueryExp.cpp
+++ b/third_party/WebKit/Source/core/css/MediaQueryExp.cpp
@@ -221,7 +221,6 @@ MediaQueryExp* MediaQueryExp::createIfValid(const String& mediaFeature, const Ve
if (!featureWithValidIdent(lowerMediaFeature, ident))
return nullptr;
expValue.id = ident;
- expValue.unit = CSSPrimitiveValue::UnitType::ValueID;
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.
« no previous file with comments | « third_party/WebKit/Source/core/css/FontFace.cpp ('k') | third_party/WebKit/Source/core/css/StylePropertySerializer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698