Bug 724711 - Remove unused variable from nsSVGForeignObjectFrame::DoReflow. (Really this time.) r=dholbert

This commit is contained in:
Cameron McCormack 2012-02-07 10:52:01 +11:00
Родитель a41a53c13c
Коммит c672a80f7d
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -587,7 +587,6 @@ nsSVGForeignObjectFrame::DoReflow()
return;
// initiate a synchronous reflow here and now:
nsSize availableSpace(NS_UNCONSTRAINEDSIZE, NS_UNCONSTRAINEDSIZE);
nsIPresShell* presShell = presContext->PresShell();
NS_ASSERTION(presShell, "null presShell");
nsRefPtr<nsRenderingContext> renderingContext =
@ -622,7 +621,7 @@ nsSVGForeignObjectFrame::DoReflow()
// page/column breaking at that height.
NS_ASSERTION(reflowState.mComputedBorderPadding == nsMargin(0, 0, 0, 0) &&
reflowState.mComputedMargin == nsMargin(0, 0, 0, 0),
"style system should ensure that :-moz-svg-foreign content "
"style system should ensure that :-moz-svg-foreign-content "
"does not get styled");
NS_ASSERTION(reflowState.ComputedWidth() == size.width,
"reflow state made child wrong size");