Index: Source/core/svg/SVGViewSpec.cpp |
diff --git a/Source/core/svg/SVGViewSpec.cpp b/Source/core/svg/SVGViewSpec.cpp |
index 69fc7d3c5ad4ca0233dbd1581add2abfc15628a0..cb31254373010b362f96620064110387a3a6ab5b 100644 |
--- a/Source/core/svg/SVGViewSpec.cpp |
+++ b/Source/core/svg/SVGViewSpec.cpp |
@@ -224,7 +224,7 @@ bool SVGViewSpec::parseViewSpecInternal(const CharType* ptr, const CharType* end |
return false; |
ptr++; |
FloatRect viewBox; |
- if (!SVGFitToViewBox::parseViewBox(m_contextElement->document(), ptr, end, viewBox, false)) |
+ if (!SVGFitToViewBox::parseViewBox(&m_contextElement->document(), ptr, end, viewBox, false)) |
return false; |
setViewBoxBaseValue(viewBox); |
if (ptr >= end || *ptr != ')') |