Use offsetLeftAndRight and offsetTopAndBottom in ChangeBounds.

Bug 17015836

When the size does not change, use offsetLeftAndRight and
offsetTopAndBottom to improve performance.

Change-Id: I3e70c783321346bb98867ec60bd899c39293c9e7
1 file changed