Fix build bustage due to checkin for bug 294086. I'll get this reviewed post checkin.

This commit is contained in:
jwatt@jwatt.org 2007-11-18 04:46:50 -08:00
parent d308285bb4
commit 80778010c8

View File

@ -443,7 +443,8 @@ nsSubDocumentFrame::ComputeSize(nsIRenderingContext *aRenderingContext,
nsIFrame* subDocRoot = ObtainIntrinsicSizeFrame();
if (subDocRoot) {
return nsLayoutUtils::ComputeSizeWithIntrinsicDimensions(
aRenderingContext, this,
aRenderingContext,
const_cast<nsSubDocumentFrame*>(this),
subDocRoot->GetIntrinsicSize(),
subDocRoot->GetIntrinsicRatio(),
aCBSize, aMargin, aBorder, aPadding);