diff --git a/mozilla/content/svg/content/src/nsSVGGraphicElement.cpp b/mozilla/content/svg/content/src/nsSVGGraphicElement.cpp index 2366e1f48a9..c26a263544e 100644 --- a/mozilla/content/svg/content/src/nsSVGGraphicElement.cpp +++ b/mozilla/content/svg/content/src/nsSVGGraphicElement.cpp @@ -93,8 +93,6 @@ NS_IMETHODIMP nsSVGGraphicElement::GetBBox(nsIDOMSVGRect **_retval) nsIFrame* frame = GetPrimaryFrame(Flush_Layout); - NS_ASSERTION(frame, "can't get bounding box for element without frame"); - if (frame) { nsISVGChildFrame* svgframe; CallQueryInterface(frame, &svgframe); diff --git a/mozilla/content/svg/content/src/nsSVGSVGElement.cpp b/mozilla/content/svg/content/src/nsSVGSVGElement.cpp index 84c2d31080d..947938c0fa5 100644 --- a/mozilla/content/svg/content/src/nsSVGSVGElement.cpp +++ b/mozilla/content/svg/content/src/nsSVGSVGElement.cpp @@ -693,8 +693,6 @@ nsSVGSVGElement::GetBBox(nsIDOMSVGRect **_retval) nsIFrame* frame = GetPrimaryFrame(Flush_Layout); - NS_ASSERTION(frame, "can't get bounding box for element without frame"); - if (frame) { nsISVGChildFrame* svgframe; frame->QueryInterface(NS_GET_IID(nsISVGChildFrame),(void**)&svgframe);