From d67b4d3f6ba5138dfa3f1b4e8c4d542ba67614da Mon Sep 17 00:00:00 2001 From: "waterson%netscape.com" Date: Thu, 10 Sep 1998 01:05:46 +0000 Subject: [PATCH] Added call to reflow document when all connections complete if it contains an unsized image. git-svn-id: svn://10.0.0.236/trunk@9697 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/cmd/xfe/src/context_funcs.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mozilla/cmd/xfe/src/context_funcs.cpp b/mozilla/cmd/xfe/src/context_funcs.cpp index eba77047d65..db146273f58 100644 --- a/mozilla/cmd/xfe/src/context_funcs.cpp +++ b/mozilla/cmd/xfe/src/context_funcs.cpp @@ -672,6 +672,13 @@ XFE_AllConnectionsComplete(MWContext *context) else if((context->type != MWContextSearch) && (context->type != MWContextSearchLdap) ) { + /* At this point, we need to pay our dues if we've been lazy + about getting image sizes. If the context is marked for + reflow, then do it now... */ + if (context->requires_reflow) { + LO_RelayoutFromElement(context, NULL); + context->requires_reflow = PR_FALSE; + } XFE_Progress (top, XP_GetString(XFE_DOCUMENT_DONE)); }