mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-14 22:13:31 +00:00
Added a reminder comment
This commit is contained in:
parent
bfcbd0e0c8
commit
aab132bf6b
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user