diff options
Diffstat (limited to 'WebCore/svg/SVGLength.cpp')
-rw-r--r-- | WebCore/svg/SVGLength.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/svg/SVGLength.cpp b/WebCore/svg/SVGLength.cpp index f8381bf..8168cf6 100644 --- a/WebCore/svg/SVGLength.cpp +++ b/WebCore/svg/SVGLength.cpp @@ -347,7 +347,7 @@ bool SVGLength::determineViewport(const SVGElement* context, float& width, float } // Resolve value against enclosing non-SVG RenderBox - if (!context->parent() || context->parent()->isSVGElement()) + if (!context->parentNode() || context->parentNode()->isSVGElement()) return false; RenderObject* renderer = context->renderer(); |