Index: Source/core/css/resolver/ViewportStyleResolver.cpp |
diff --git a/Source/core/css/resolver/ViewportStyleResolver.cpp b/Source/core/css/resolver/ViewportStyleResolver.cpp |
index 8291a0d10009d65422b0282407432d98e0100da6..124370d79247d5acf7142725179b2074f168b61a 100644 |
--- a/Source/core/css/resolver/ViewportStyleResolver.cpp |
+++ b/Source/core/css/resolver/ViewportStyleResolver.cpp |
@@ -179,7 +179,7 @@ Length ViewportStyleResolver::viewportLengthValue(CSSPropertyID id) const |
if (primitiveValue->getValueID() == CSSValueInternalExtendToZoom) |
return Length(ExtendToZoom); |
- LayoutStyle* documentStyle = m_document->layoutStyle(); |
+ const LayoutStyle* documentStyle = m_document->layoutStyle(); |
// If we have viewport units the conversion will mark the document style as having viewport units. |
bool documentStyleHasViewportUnits = documentStyle->hasViewportUnits(); |