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

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

Issue 1304993002: Change Rect and Quad to be CSSValues (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@split_counter_out_attempt_3
Patch Set: Small change to generated style builder functions Created 5 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/CSSBorderImageSliceValue.cpp ('k') | Source/core/css/CSSPrimitiveValue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSCalculationValue.cpp
diff --git a/Source/core/css/CSSCalculationValue.cpp b/Source/core/css/CSSCalculationValue.cpp
index 9c51edf952265ded20812e40113988e6e357378f..b96889e677b2e965eb21999fe529f7724875ee31 100644
--- a/Source/core/css/CSSCalculationValue.cpp
+++ b/Source/core/css/CSSCalculationValue.cpp
@@ -124,11 +124,9 @@ static bool hasDoubleValue(CSSPrimitiveValue::UnitType type)
case CSSPrimitiveValue::UnitType::String:
case CSSPrimitiveValue::UnitType::URI:
case CSSPrimitiveValue::UnitType::Attribute:
- case CSSPrimitiveValue::UnitType::Rect:
case CSSPrimitiveValue::UnitType::RGBColor:
case CSSPrimitiveValue::UnitType::Pair:
case CSSPrimitiveValue::UnitType::Shape:
- case CSSPrimitiveValue::UnitType::Quad:
case CSSPrimitiveValue::UnitType::Calc:
case CSSPrimitiveValue::UnitType::CalcPercentageWithNumber:
case CSSPrimitiveValue::UnitType::CalcPercentageWithLength:
« no previous file with comments | « Source/core/css/CSSBorderImageSliceValue.cpp ('k') | Source/core/css/CSSPrimitiveValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698