зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
1e84beb217
Коммит
b73baec438
|
@ -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",
|
||||
|
|
Загрузка…
Ссылка в новой задаче