From d6746f9dd6affde4ea2f8e6b8d58c52dbd0bb0c3 Mon Sep 17 00:00:00 2001 From: "sharparrow1@yahoo.com" Date: Sun, 1 Jul 2007 23:12:02 -0700 Subject: [PATCH] Bug 386387: ifilm videos don't play, only audio plays. r+sr=roc --- layout/generic/nsObjectFrame.cpp | 2 ++ 1 file changed, 2 insertions(+) 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