mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
crash on abc - calls EnsureColumns upon entering reflow if appropriate
This commit is contained in:
parent
0deb880497
commit
2018136f30
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user