This commit is contained in:
av%netscape.com 2000-07-11 23:10:29 +00:00
Родитель 0521d8724e
Коммит 1a13af6589
2 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -523,9 +523,9 @@ nsObjectFrame::Reflow(nsIPresContext* aPresContext,
// could be an image
nsIFrame * child = mFrames.FirstChild();
if(child != nsnull) {
nsresult imageResult = HandleImage(aPresContext, aMetrics, aReflowState, aStatus, child);
}
if(child != nsnull)
return HandleImage(aPresContext, aMetrics, aReflowState, aStatus, child);
// if mInstance is null, we need to determine what kind of object we are and instantiate ourselves
if(!mInstanceOwner)
{

Просмотреть файл

@ -523,9 +523,9 @@ nsObjectFrame::Reflow(nsIPresContext* aPresContext,
// could be an image
nsIFrame * child = mFrames.FirstChild();
if(child != nsnull) {
nsresult imageResult = HandleImage(aPresContext, aMetrics, aReflowState, aStatus, child);
}
if(child != nsnull)
return HandleImage(aPresContext, aMetrics, aReflowState, aStatus, child);
// if mInstance is null, we need to determine what kind of object we are and instantiate ourselves
if(!mInstanceOwner)
{