From df753a16796d6c0c1e6dd96f3515d59007d602d9 Mon Sep 17 00:00:00 2001 From: "kipp%netscape.com" Date: Mon, 10 May 1999 22:29:34 +0000 Subject: [PATCH] Added a reminder comment git-svn-id: svn://10.0.0.236/trunk@31003 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/content/base/src/nsDocumentViewer.cpp | 2 ++ mozilla/layout/base/nsDocumentViewer.cpp | 2 ++ mozilla/layout/base/src/nsDocumentViewer.cpp | 2 ++ 3 files changed, 6 insertions(+) diff --git a/mozilla/content/base/src/nsDocumentViewer.cpp b/mozilla/content/base/src/nsDocumentViewer.cpp index a4385606f42..12c520e37ba 100644 --- a/mozilla/content/base/src/nsDocumentViewer.cpp +++ b/mozilla/content/base/src/nsDocumentViewer.cpp @@ -354,6 +354,8 @@ DocumentViewerImpl::Init(nsNativeWidget aNativeParent, // Make shell an observer for next time mPresShell->BeginObservingDocument(); +//XXX I don't think this should be done *here*; and why paint nothing +//(which turns out to cause black flashes!)??? // Resize-reflow this time mPresShell->InitialReflow(width, height); diff --git a/mozilla/layout/base/nsDocumentViewer.cpp b/mozilla/layout/base/nsDocumentViewer.cpp index a4385606f42..12c520e37ba 100644 --- a/mozilla/layout/base/nsDocumentViewer.cpp +++ b/mozilla/layout/base/nsDocumentViewer.cpp @@ -354,6 +354,8 @@ DocumentViewerImpl::Init(nsNativeWidget aNativeParent, // Make shell an observer for next time mPresShell->BeginObservingDocument(); +//XXX I don't think this should be done *here*; and why paint nothing +//(which turns out to cause black flashes!)??? // Resize-reflow this time mPresShell->InitialReflow(width, height); diff --git a/mozilla/layout/base/src/nsDocumentViewer.cpp b/mozilla/layout/base/src/nsDocumentViewer.cpp index a4385606f42..12c520e37ba 100644 --- a/mozilla/layout/base/src/nsDocumentViewer.cpp +++ b/mozilla/layout/base/src/nsDocumentViewer.cpp @@ -354,6 +354,8 @@ DocumentViewerImpl::Init(nsNativeWidget aNativeParent, // Make shell an observer for next time mPresShell->BeginObservingDocument(); +//XXX I don't think this should be done *here*; and why paint nothing +//(which turns out to cause black flashes!)??? // Resize-reflow this time mPresShell->InitialReflow(width, height);