This commit is contained in:
kipp%netscape.com 1999-05-10 22:29:34 +00:00
Родитель 6ad44fc278
Коммит 14994be14d
3 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -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);

Просмотреть файл

@ -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);

Просмотреть файл

@ -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);