From ab7a2f3b242530bd63705abde292710f85e33532 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. git-svn-id: svn://10.0.0.236/trunk@38794 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/docshell/base/nsWebShell.cpp | 3 +++ mozilla/webshell/src/nsWebShell.cpp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/mozilla/docshell/base/nsWebShell.cpp b/mozilla/docshell/base/nsWebShell.cpp index 46db864ba81..ef8635cb3f0 100644 --- a/mozilla/docshell/base/nsWebShell.cpp +++ b/mozilla/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/mozilla/webshell/src/nsWebShell.cpp b/mozilla/webshell/src/nsWebShell.cpp index 46db864ba81..ef8635cb3f0 100644 --- a/mozilla/webshell/src/nsWebShell.cpp +++ b/mozilla/webshell/src/nsWebShell.cpp @@ -3010,6 +3010,9 @@ nsWebShell::OnEndDocumentLoad(nsIDocumentLoader* loader, rv = NS_OK; } + // Do a repaint + Repaint(PR_TRUE); + return rv; }