diff --git a/mozilla/layout/html/table/src/nsTableFrame.cpp b/mozilla/layout/html/table/src/nsTableFrame.cpp
index 03ca2ebea84..d682f7eed37 100644
--- a/mozilla/layout/html/table/src/nsTableFrame.cpp
+++ b/mozilla/layout/html/table/src/nsTableFrame.cpp
@@ -1945,9 +1945,10 @@ NS_METHOD nsTableFrame::Reflow(nsIPresContext* aPresContext,
NS_UNCONSTRAINEDSIZE);
// reflow the children
nsIFrame *lastReflowed;
+ nsRect overflowArea;
ReflowChildren(aPresContext, reflowState, !HaveReflowedColGroups(),
PR_FALSE, aStatus, lastReflowed,
- aDesiredSize.mOverflowArea);
+ overflowArea);
}
mTableLayoutStrategy->Initialize(aPresContext, aReflowState);
}
diff --git a/mozilla/layout/tables/nsTableFrame.cpp b/mozilla/layout/tables/nsTableFrame.cpp
index 03ca2ebea84..d682f7eed37 100644
--- a/mozilla/layout/tables/nsTableFrame.cpp
+++ b/mozilla/layout/tables/nsTableFrame.cpp
@@ -1945,9 +1945,10 @@ NS_METHOD nsTableFrame::Reflow(nsIPresContext* aPresContext,
NS_UNCONSTRAINEDSIZE);
// reflow the children
nsIFrame *lastReflowed;
+ nsRect overflowArea;
ReflowChildren(aPresContext, reflowState, !HaveReflowedColGroups(),
PR_FALSE, aStatus, lastReflowed,
- aDesiredSize.mOverflowArea);
+ overflowArea);
}
mTableLayoutStrategy->Initialize(aPresContext, aReflowState);
}