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

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

Issue 1306823004: Split out String, URI and CustomIdent from CSSPrimitiveValue (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@split_out_attr_values
Patch Set: Rebase Created 5 years, 2 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 | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/css/CSSCounterValue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3eaf984de25b259e9b8b45f9322eddb22207b66c..3df563a2edfef7beaf69a032557594718cb8df85 100644
--- a/third_party/WebKit/Source/core/css/CSSCalculationValue.cpp
+++ b/third_party/WebKit/Source/core/css/CSSCalculationValue.cpp
@@ -120,9 +120,6 @@ static bool hasDoubleValue(CSSPrimitiveValue::UnitType type)
case CSSPrimitiveValue::UnitType::Integer:
return true;
case CSSPrimitiveValue::UnitType::Unknown:
- case CSSPrimitiveValue::UnitType::CustomIdentifier:
- case CSSPrimitiveValue::UnitType::String:
- case CSSPrimitiveValue::UnitType::URI:
case CSSPrimitiveValue::UnitType::RGBColor:
case CSSPrimitiveValue::UnitType::Calc:
case CSSPrimitiveValue::UnitType::CalcPercentageWithNumber:
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/css/CSSCounterValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698