Removed call to mWebShell->Repaint in nsHTMLFrameInnerFrame::Reflow. This eliminates

multiple repaints of the content area in Mozilla when the content area is resized.
The mWebShell->SetBounds is sufficient since it invalidates the webshell window.
bug 16270; r= rods@netscape.com
This commit is contained in:
kmcclusk%netscape.com 1999-11-03 00:11:40 +00:00
Родитель 1e84beb217
Коммит b73baec438
2 изменённых файлов: 0 добавлений и 2 удалений

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

@ -901,7 +901,6 @@ nsHTMLFrameInnerFrame::Reflow(nsIPresContext& aPresContext,
subBounds.height = NSToCoordRound(aDesiredSize.height * t2p);
mWebShell->SetBounds(subBounds.x, subBounds.y,
subBounds.width, subBounds.height);
mWebShell->Repaint(PR_TRUE);
NS_FRAME_TRACE(NS_FRAME_TRACE_CALLS,
("exit nsHTMLFrameInnerFrame::Reflow: size=%d,%d rv=%x",

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

@ -901,7 +901,6 @@ nsHTMLFrameInnerFrame::Reflow(nsIPresContext& aPresContext,
subBounds.height = NSToCoordRound(aDesiredSize.height * t2p);
mWebShell->SetBounds(subBounds.x, subBounds.y,
subBounds.width, subBounds.height);
mWebShell->Repaint(PR_TRUE);
NS_FRAME_TRACE(NS_FRAME_TRACE_CALLS,
("exit nsHTMLFrameInnerFrame::Reflow: size=%d,%d rv=%x",