mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
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:
parent
1e84beb217
commit
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",
|
||||
|
Loading…
Reference in New Issue
Block a user