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

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

Issue 1417463003: Move z-index property handling into CSSPropertyParser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase again! 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
Index: third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp b/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
index 82e384900049f2ed5302ff2879a437543655413b..e879977f18d51c1654e19b6172d6588d7d65115a 100644
--- a/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
+++ b/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
@@ -786,6 +786,7 @@ bool CSSPrimitiveValue::equals(const CSSPrimitiveValue& other) const
case UnitType::Unknown:
return false;
case UnitType::Number:
+ case UnitType::Integer:
case UnitType::Percentage:
case UnitType::Ems:
case UnitType::Exs:
@@ -817,7 +818,6 @@ bool CSSPrimitiveValue::equals(const CSSPrimitiveValue& other) const
return m_value.valueID == other.m_value.valueID;
case UnitType::Calc:
return m_value.calc && other.m_value.calc && m_value.calc->equals(*other.m_value.calc);
- case UnitType::Integer:
case UnitType::Chs:
case UnitType::CalcPercentageWithNumber:
case UnitType::CalcPercentageWithLength:

Powered by Google App Engine
This is Rietveld 408576698