| Index: Source/core/css/resolver/ViewportStyleResolver.cpp
|
| diff --git a/Source/core/css/resolver/ViewportStyleResolver.cpp b/Source/core/css/resolver/ViewportStyleResolver.cpp
|
| index 38a644d4e6bedadb8a7ae3331db1a805cdfee8da..97227b719b5efed0249a52f4c24f3509bda22e05 100644
|
| --- a/Source/core/css/resolver/ViewportStyleResolver.cpp
|
| +++ b/Source/core/css/resolver/ViewportStyleResolver.cpp
|
| @@ -125,11 +125,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:
|
|
|