Fix for smoketest blocker 82194. sr=waterson, r=soemone, go look in the bug

git-svn-id: svn://10.0.0.236/trunk@96192 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
hyatt%netscape.com 2001-06-01 22:48:05 +00:00
parent b411b1627d
commit e5f3f1d689

View File

@ -688,6 +688,9 @@ nsSliderFrame::CurrentPositionChanged(nsIPresContext* aPresContext)
// get the thumb's rect
nsIFrame* thumbFrame = mFrames.FirstChild();
if (!thumbFrame)
return NS_OK; // The thumb may stream in asynchronously via XBL.
nsRect thumbRect;
thumbFrame->GetRect(thumbRect);