diff --git a/mozilla/layout/html/table/src/nsTableOuterFrame.cpp b/mozilla/layout/html/table/src/nsTableOuterFrame.cpp index 78fdc74e2d2..41c4a876cf9 100644 --- a/mozilla/layout/html/table/src/nsTableOuterFrame.cpp +++ b/mozilla/layout/html/table/src/nsTableOuterFrame.cpp @@ -228,11 +228,12 @@ NS_METHOD nsTableOuterFrame::ResizeReflow(nsIPresContext* aPresContext, &innerTableMaxElementSize); #ifdef NOISY_MARGINS - nsIContentPtr content = mInnerTableFrame->GetContent(); + nsIContent* content = nsnull; + mInnerTableFrame->GetContent(content); nsTablePart *table = (nsTablePart*)content; if (table != nsnull) table->DumpCellMap(); - mInnerTableFrame->ResetColumnLayoutData(); + mInnerTableFrame->RecalcLayoutData(); mInnerTableFrame->ListColumnLayoutData(stdout,1); #endif diff --git a/mozilla/layout/tables/nsTableOuterFrame.cpp b/mozilla/layout/tables/nsTableOuterFrame.cpp index 78fdc74e2d2..41c4a876cf9 100644 --- a/mozilla/layout/tables/nsTableOuterFrame.cpp +++ b/mozilla/layout/tables/nsTableOuterFrame.cpp @@ -228,11 +228,12 @@ NS_METHOD nsTableOuterFrame::ResizeReflow(nsIPresContext* aPresContext, &innerTableMaxElementSize); #ifdef NOISY_MARGINS - nsIContentPtr content = mInnerTableFrame->GetContent(); + nsIContent* content = nsnull; + mInnerTableFrame->GetContent(content); nsTablePart *table = (nsTablePart*)content; if (table != nsnull) table->DumpCellMap(); - mInnerTableFrame->ResetColumnLayoutData(); + mInnerTableFrame->RecalcLayoutData(); mInnerTableFrame->ListColumnLayoutData(stdout,1); #endif