I am "unfixing" something. This was something I introduced to prevent an M3 bug with a hack, it is not necessary anymore. reviewd by sfrasier. several people have verified this.

git-svn-id: svn://10.0.0.236/trunk@24191 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mjudge%netscape.com
1999-03-16 00:08:38 +00:00
parent d329e297fb
commit 598cd8d192
2 changed files with 8 additions and 8 deletions

View File

@@ -1511,7 +1511,7 @@ nsFrame::SetSelected(nsSelectionStruct *aSelStruct)
{
mSelected = aSelStruct->mType & nsSelectionStruct::SELON ;
nsRect rect;
/* nsRect rect;
GetRect(rect);
nsIFrame *frame = this;
nsIFrame *firstframe = nsnull;
@@ -1524,9 +1524,9 @@ nsFrame::SetSelected(nsSelectionStruct *aSelStruct)
firstframe->GetRect(rect2);
rect.y-= rect.y-rect2.y;
}
//ForceDrawFrame(this);//invalidate does not work in all cases.
Invalidate(rect,PR_FALSE); //false is for not immediate
*/
ForceDrawFrame(this);//invalidate does not work in all cases.
//Invalidate(rect,PR_FALSE); //false is for not immediate
}
return NS_OK;
}

View File

@@ -1511,7 +1511,7 @@ nsFrame::SetSelected(nsSelectionStruct *aSelStruct)
{
mSelected = aSelStruct->mType & nsSelectionStruct::SELON ;
nsRect rect;
/* nsRect rect;
GetRect(rect);
nsIFrame *frame = this;
nsIFrame *firstframe = nsnull;
@@ -1524,9 +1524,9 @@ nsFrame::SetSelected(nsSelectionStruct *aSelStruct)
firstframe->GetRect(rect2);
rect.y-= rect.y-rect2.y;
}
//ForceDrawFrame(this);//invalidate does not work in all cases.
Invalidate(rect,PR_FALSE); //false is for not immediate
*/
ForceDrawFrame(this);//invalidate does not work in all cases.
//Invalidate(rect,PR_FALSE); //false is for not immediate
}
return NS_OK;
}