Index: third_party/WebKit/Source/core/css/resolver/ViewportStyleResolver.cpp |
diff --git a/third_party/WebKit/Source/core/css/resolver/ViewportStyleResolver.cpp b/third_party/WebKit/Source/core/css/resolver/ViewportStyleResolver.cpp |
index 0f7e7ead0c3634c244fc743f1872f461665bdb2c..a337a3f0df4f0978f9a3e5d4bb9b1c9625f501b1 100644 |
--- a/third_party/WebKit/Source/core/css/resolver/ViewportStyleResolver.cpp |
+++ b/third_party/WebKit/Source/core/css/resolver/ViewportStyleResolver.cpp |
@@ -257,7 +257,7 @@ float ViewportStyleResolver::viewportArgumentValue(CSSPropertyID id) const { |
} |
Length ViewportStyleResolver::viewportLengthValue(CSSPropertyID id) { |
- ASSERT(id == CSSPropertyMaxHeight || id == CSSPropertyMinHeight || |
+ DCHECK(id == CSSPropertyMaxHeight || id == CSSPropertyMinHeight || |
id == CSSPropertyMaxWidth || id == CSSPropertyMinWidth); |
const CSSValue* value = m_propertySet->getPropertyCSSValue(id); |