aww, I fixed my favorite bug. The "interesting" toolbar contest is now over. (bug 20496) r=mcafee,large_penguin
git-svn-id: svn://10.0.0.236/trunk@59806 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2185,7 +2185,11 @@ PRInt16 borderRadii[4],i;
|
||||
theTransform->SetToIdentity();
|
||||
theTransform->AddScale(app2dev, app2dev);
|
||||
|
||||
//aRenderingContext.SetClipRect(srcRect, nsClipCombine_kReplace, clip);
|
||||
// XXX this #ifdef needs to go away when we are sure that this works on windows and mac
|
||||
#ifdef XP_UNIX
|
||||
srcRect.SetRect(0,0,tvrect.width,tvrect.height);
|
||||
aRenderingContext.SetClipRect(srcRect, nsClipCombine_kReplace, clip);
|
||||
#endif
|
||||
|
||||
// copy the initial image to our buffer, this takes twips and converts to pixels..
|
||||
// which is what the image is in
|
||||
|
||||
Reference in New Issue
Block a user