Bug 474723. Allow box-shadows to display on plugins by ensuring nsObjectFrames get the right overflow area. r+sr=roc

--HG--
extra : rebase_source : d58e810f0e3f82d2c81a09c3dc67c7800f5333ff
This commit is contained in:
Michael Ventnor 2009-01-30 20:05:46 +13:00
parent de7c8d503e
commit 5d8a255f31

View File

@ -838,8 +838,7 @@ nsObjectFrame::Reflow(nsPresContext* aPresContext,
// Get our desired size
GetDesiredSize(aPresContext, aReflowState, aMetrics);
aMetrics.mOverflowArea = nsRect(0, 0,
aMetrics.width, aMetrics.height);
FinishAndStoreOverflow(&aMetrics);
// delay plugin instantiation until all children have
// arrived. Otherwise there may be PARAMs or other stuff that the