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

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

Issue 1106443002: Fix serialization of alias_for properties (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@p7
Patch Set: fix :| Created 5 years, 8 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: Source/core/css/CSSPrimitiveValue.cpp
diff --git a/Source/core/css/CSSPrimitiveValue.cpp b/Source/core/css/CSSPrimitiveValue.cpp
index 10b8f5944e37fe9439a1f781f257acb27a8cb386..ebdacd89d6d913eddbef89e0afdbe69e53ed8ac5 100644
--- a/Source/core/css/CSSPrimitiveValue.cpp
+++ b/Source/core/css/CSSPrimitiveValue.cpp
@@ -259,12 +259,6 @@ CSSPrimitiveValue::UnitType CSSPrimitiveValue::primitiveType() const
static const AtomicString& propertyName(CSSPropertyID propertyID)
{
- ASSERT_ARG(propertyID, propertyID >= 0);
- ASSERT_ARG(propertyID, (propertyID >= firstCSSProperty && propertyID < firstCSSProperty + numCSSProperties));
-
- if (propertyID < 0)
- return nullAtom;
-
return getPropertyNameAtomicString(propertyID);
}

Powered by Google App Engine
This is Rietveld 408576698