Bug 1423541: Use BaseRect access methods instead of member variables in accessible/ r=surkov
MozReview-Commit-ID: KRfgYEW7aWY
This commit is contained in:
@@ -222,7 +222,6 @@ HTMLAreaAccessible::RelativeBounds(nsIFrame** aBoundingFrame) const
|
||||
// XXX Areas are screwy; they return their rects as a pair of points, one pair
|
||||
// stored into the width and height.
|
||||
*aBoundingFrame = frame;
|
||||
bounds.width -= bounds.x;
|
||||
bounds.height -= bounds.y;
|
||||
bounds.SizeTo(bounds.Width() - bounds.X(), bounds.Height() - bounds.Y());
|
||||
return bounds;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user