зеркало из https://github.com/mozilla/pjs.git
Added a reminder comment
This commit is contained in:
Родитель
6ad44fc278
Коммит
14994be14d
|
@ -354,6 +354,8 @@ DocumentViewerImpl::Init(nsNativeWidget aNativeParent,
|
||||||
// Make shell an observer for next time
|
// Make shell an observer for next time
|
||||||
mPresShell->BeginObservingDocument();
|
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
|
// Resize-reflow this time
|
||||||
mPresShell->InitialReflow(width, height);
|
mPresShell->InitialReflow(width, height);
|
||||||
|
|
||||||
|
|
|
@ -354,6 +354,8 @@ DocumentViewerImpl::Init(nsNativeWidget aNativeParent,
|
||||||
// Make shell an observer for next time
|
// Make shell an observer for next time
|
||||||
mPresShell->BeginObservingDocument();
|
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
|
// Resize-reflow this time
|
||||||
mPresShell->InitialReflow(width, height);
|
mPresShell->InitialReflow(width, height);
|
||||||
|
|
||||||
|
|
|
@ -354,6 +354,8 @@ DocumentViewerImpl::Init(nsNativeWidget aNativeParent,
|
||||||
// Make shell an observer for next time
|
// Make shell an observer for next time
|
||||||
mPresShell->BeginObservingDocument();
|
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
|
// Resize-reflow this time
|
||||||
mPresShell->InitialReflow(width, height);
|
mPresShell->InitialReflow(width, height);
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче