Index: third_party/WebKit/Source/core/style/GridPosition.h |
diff --git a/third_party/WebKit/Source/core/style/GridPosition.h b/third_party/WebKit/Source/core/style/GridPosition.h |
index 3de9338e8a9787ed57c46912d55e77b878f95287..d072f14da650529bbd6ccae35dbe9d8bde0f41b9 100644 |
--- a/third_party/WebKit/Source/core/style/GridPosition.h |
+++ b/third_party/WebKit/Source/core/style/GridPosition.h |
@@ -82,18 +82,18 @@ class GridPosition { |
} |
int integerPosition() const { |
- ASSERT(type() == ExplicitPosition); |
+ DCHECK_EQ(type(), ExplicitPosition); |
return m_integerPosition; |
} |
AtomicString namedGridLine() const { |
- ASSERT(type() == ExplicitPosition || type() == SpanPosition || |
+ DCHECK(type() == ExplicitPosition || type() == SpanPosition || |
type() == NamedGridAreaPosition); |
return m_namedGridLine; |
} |
int spanPosition() const { |
- ASSERT(type() == SpanPosition); |
+ DCHECK_EQ(type(), SpanPosition); |
return m_integerPosition; |
} |