зеркало из https://github.com/mozilla/pjs.git
Bug 327705 - remove ASSERTION: can't get bounding box for element without frame. r=tor,sr=bzbarsky
This commit is contained in:
Родитель
bf436012cf
Коммит
12a84857ac
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче