From 537dbe914817705a4fb255ee2c4f2e043e7dd7dd Mon Sep 17 00:00:00 2001 From: "hyatt@netscape.com" Date: Thu, 8 Jul 1999 08:16:49 +0000 Subject: [PATCH] Fixes for repainting problems. This is probably the wrong thing to do, but dammit, it works. Making all webshells repaint when their document gets loaded. --- docshell/base/nsWebShell.cpp | 3 +++ webshell/src/nsWebShell.cpp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/docshell/base/nsWebShell.cpp b/docshell/base/nsWebShell.cpp index 46db864ba816..ef8635cb3f03 100644 --- a/docshell/base/nsWebShell.cpp +++ b/docshell/base/nsWebShell.cpp @@ -3010,6 +3010,9 @@ nsWebShell::OnEndDocumentLoad(nsIDocumentLoader* loader, rv = NS_OK; } + // Do a repaint + Repaint(PR_TRUE); + return rv; } diff --git a/webshell/src/nsWebShell.cpp b/webshell/src/nsWebShell.cpp index 46db864ba816..ef8635cb3f03 100644 --- a/webshell/src/nsWebShell.cpp +++ b/webshell/src/nsWebShell.cpp @@ -3010,6 +3010,9 @@ nsWebShell::OnEndDocumentLoad(nsIDocumentLoader* loader, rv = NS_OK; } + // Do a repaint + Repaint(PR_TRUE); + return rv; }