Use InitialReflow to layout the image document instead of ResizeReflow so that images layout properly

git-svn-id: svn://10.0.0.236/trunk@9817 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp%netscape.com
1998-09-11 04:20:30 +00:00
parent 9685925ebc
commit fd10278074
2 changed files with 2 additions and 2 deletions

View File

@@ -331,7 +331,7 @@ nsImageDocument::StartLayout()
nsIPresContext* cx = shell->GetPresContext();
nsRect r;
cx->GetVisibleArea(r);
shell->ResizeReflow(r.width, r.height);
shell->InitialReflow(r.width, r.height);
NS_RELEASE(cx);
// Now trigger a refresh