diff --git a/layout/generic/nsObjectFrame.cpp b/layout/generic/nsObjectFrame.cpp index 3990bbaab1c..e943017bc1c 100644 --- a/layout/generic/nsObjectFrame.cpp +++ b/layout/generic/nsObjectFrame.cpp @@ -686,6 +686,8 @@ nsObjectFrame::Reflow(nsPresContext* aPresContext, // Get our desired size GetDesiredSize(aPresContext, aReflowState, aMetrics); + aMetrics.mOverflowArea = nsRect(0, 0, + aMetrics.width, aMetrics.height); // delay plugin instantiation until all children have // arrived. Otherwise there may be PARAMs or other stuff that the