Index: Source/core/css/resolver/ViewportStyleResolver.cpp |
diff --git a/Source/core/css/resolver/ViewportStyleResolver.cpp b/Source/core/css/resolver/ViewportStyleResolver.cpp |
index b3d86daeaaed6cd68af5f5e08edbc42805891fa4..539cb0e4ab7199d2cbd6381f475980c8cf988c9e 100644 |
--- a/Source/core/css/resolver/ViewportStyleResolver.cpp |
+++ b/Source/core/css/resolver/ViewportStyleResolver.cpp |
@@ -123,11 +123,9 @@ float ViewportStyleResolver::getViewportArgumentValue(CSSPropertyID id) const |
switch (id) { |
case CSSPropertyMaxHeight: |
case CSSPropertyMinHeight: |
- ASSERT(m_document->initialViewportSize().height() > 0); |
return percentValue * m_document->initialViewportSize().height(); |
case CSSPropertyMaxWidth: |
case CSSPropertyMinWidth: |
- ASSERT(m_document->initialViewportSize().width() > 0); |
return percentValue * m_document->initialViewportSize().width(); |
case CSSPropertyMaxZoom: |
case CSSPropertyMinZoom: |