From 14994be14da3474f90220819bd37c729316c884d 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 --- content/base/src/nsDocumentViewer.cpp | 2 ++ layout/base/nsDocumentViewer.cpp | 2 ++ layout/base/src/nsDocumentViewer.cpp | 2 ++ 3 files changed, 6 insertions(+) diff --git a/content/base/src/nsDocumentViewer.cpp b/content/base/src/nsDocumentViewer.cpp index a4385606f42..12c520e37ba 100644 --- a/content/base/src/nsDocumentViewer.cpp +++ b/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/layout/base/nsDocumentViewer.cpp b/layout/base/nsDocumentViewer.cpp index a4385606f42..12c520e37ba 100644 --- a/layout/base/nsDocumentViewer.cpp +++ b/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/layout/base/src/nsDocumentViewer.cpp b/layout/base/src/nsDocumentViewer.cpp index a4385606f42..12c520e37ba 100644 --- a/layout/base/src/nsDocumentViewer.cpp +++ b/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);