Added a reminder comment
git-svn-id: svn://10.0.0.236/trunk@31003 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user