Fix font regression. I was using ascent() instead of font->ascent(), which I think doesn't take into account fallback fonts and small caps, so those characters would be incorrectly vertically aligned. This also fixes an old bug I noticed where if the run is more than 1024 pixels, it will start being drawn over itself since we never used the updated x coordinate. Review URL: http://codereview.chromium.org/9206
Fix font regression. I was using ascent() instead of font->ascent(), which
I think doesn't take into account fallback fonts and small caps, so those
characters would be incorrectly vertically aligned. This also fixes an old bug
I noticed where if the run is more than 1024 pixels, it will start being
drawn over itself since we never used the updated x coordinate.
Review URL: http://codereview.chromium.org/9206

git-svn-id: http://src.chromium.org/svn/trunk/src@4371 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

Former-commit-id: 0d2dc7b643d8b2b46a6f23744c05ce392defcf50
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser