From 886e6baebe493dd2c5775ba81360f9ea6324ea46 Mon Sep 17 00:00:00 2001 From: "timeless@mozdev.org" Date: Tue, 15 Feb 2011 23:52:55 -0800 Subject: [PATCH] Bug 617749 useless null check in nsSVGGlyphFrame::IsAbsolutelyPositioned r=jwatt a=dbaron --- layout/svg/base/src/nsSVGGlyphFrame.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/layout/svg/base/src/nsSVGGlyphFrame.cpp b/layout/svg/base/src/nsSVGGlyphFrame.cpp index d53d1d89f43b..efe0a06dcb8b 100644 --- a/layout/svg/base/src/nsSVGGlyphFrame.cpp +++ b/layout/svg/base/src/nsSVGGlyphFrame.cpp @@ -1310,9 +1310,6 @@ nsSVGGlyphFrame::IsAbsolutelyPositioned() frame != nsnull; frame = frame->GetParent()) { - if (!frame) - break; - // at the start of a 'text' element // at the start of each 'textPath' element if (frame->GetType() == nsGkAtoms::svgTextPathFrame) {