crash on abc - calls EnsureColumns upon entering reflow if appropriate
git-svn-id: svn://10.0.0.236/trunk@52878 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1204,6 +1204,12 @@ NS_METHOD nsTableFrame::Reflow(nsIPresContext& aPresContext,
|
||||
{
|
||||
if (nsDebugTable::gRflTable) nsTableFrame::DebugReflow("T::Rfl en", this, &aReflowState, nsnull);
|
||||
|
||||
// this is a temporary fix to prevent a recent crash due to incremental content
|
||||
// sink changes. this will go away when the col cache and cell map are synchronized
|
||||
if (!IsColumnCacheValid()) {
|
||||
CacheColFrames(aPresContext, PR_TRUE);
|
||||
}
|
||||
|
||||
// Initialize out parameter
|
||||
if (nsnull != aDesiredSize.maxElementSize) {
|
||||
aDesiredSize.maxElementSize->width = 0;
|
||||
|
||||
@@ -1204,6 +1204,12 @@ NS_METHOD nsTableFrame::Reflow(nsIPresContext& aPresContext,
|
||||
{
|
||||
if (nsDebugTable::gRflTable) nsTableFrame::DebugReflow("T::Rfl en", this, &aReflowState, nsnull);
|
||||
|
||||
// this is a temporary fix to prevent a recent crash due to incremental content
|
||||
// sink changes. this will go away when the col cache and cell map are synchronized
|
||||
if (!IsColumnCacheValid()) {
|
||||
CacheColFrames(aPresContext, PR_TRUE);
|
||||
}
|
||||
|
||||
// Initialize out parameter
|
||||
if (nsnull != aDesiredSize.maxElementSize) {
|
||||
aDesiredSize.maxElementSize->width = 0;
|
||||
|
||||
Reference in New Issue
Block a user