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

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

Issue 2382653006: Split CSSPrimitiveValue into CSSPrimitiveValue and CSSIdentifierValue (Closed)
Patch Set: Make check-webkit-style happy 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/CSSCalculationValue.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSCalculationValue.cpp b/third_party/WebKit/Source/core/css/CSSCalculationValue.cpp
index ca71c391e88907492bb346c0019462bb6733cc94..f2554043f480bd4515f4b0051a2a37f943cf12e5 100644
--- a/third_party/WebKit/Source/core/css/CSSCalculationValue.cpp
+++ b/third_party/WebKit/Source/core/css/CSSCalculationValue.cpp
@@ -119,7 +119,6 @@ static bool hasDoubleValue(CSSPrimitiveValue::UnitType type) {
case CSSPrimitiveValue::UnitType::CalcPercentageWithLength:
case CSSPrimitiveValue::UnitType::CalcLengthWithNumber:
case CSSPrimitiveValue::UnitType::CalcPercentageWithLengthAndNumber:
- case CSSPrimitiveValue::UnitType::ValueID:
case CSSPrimitiveValue::UnitType::QuirkyEms:
return false;
};

Powered by Google App Engine
This is Rietveld 408576698