commit | ab1813217b89b0a85305f1411800a1c7805864b5 | [log] [tgz] |
---|---|---|
author | Patrick Scott <phanna@android.com> | Tue Jul 07 11:11:15 2009 -0400 |
committer | Patrick Scott <phanna@android.com> | Tue Jul 07 12:57:20 2009 -0400 |
tree | 968d32fe0281df666eb1827b1f7e7082f6bf5f92 | |
parent | d6a22e7b4e17e465d8c28805b578eee1846dc410 [diff] |
Use fRight and fBottom instead of width() and height(). The methods width() and height() take in to account negative values for fLeft and fTop. This can cause the width and height to be larger than the visible rectangle which was causing cnn.com to grow arbitrarily large.