summaryrefslogtreecommitdiffstats
path: root/ui/compositor/dip_util.h
diff options
context:
space:
mode:
authorasvitkine@chromium.org <asvitkine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-16 00:37:09 +0000
committerasvitkine@chromium.org <asvitkine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-16 00:37:09 +0000
commit0a12d5fdc9b861f48e0d431fa9f1887bf84246b1 (patch)
tree68aa74232007f5a106512de8a797d97a07e3a867 /ui/compositor/dip_util.h
parent51dbd1c879a48c7a28deb9f6e83e1a2d7ee78cee (diff)
downloadchromium_src-0a12d5fdc9b861f48e0d431fa9f1887bf84246b1.zip
chromium_src-0a12d5fdc9b861f48e0d431fa9f1887bf84246b1.tar.gz
chromium_src-0a12d5fdc9b861f48e0d431fa9f1887bf84246b1.tar.bz2
Rewrite RenderText::IndexOfAdjacentGrapheme() in terms of IsCursorablePosition().
This moves the implementation of IndexOfAdjacentGrapheme() entirely into the base class, removing the need for platform-specific implementations. This rewrite exposed a couple of problems in RenderTextLinux::IsCursorablePosition() that caused some tests to fail. The fixes are also included. Also includes additional test coverage for UTF16 surrogate pairs, which was only caught by a Linux-specific password censorship test. BUG=125664 TEST=Existing unit tests. Review URL: https://chromiumcodereview.appspot.com/10389148 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137320 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/compositor/dip_util.h')
0 files changed, 0 insertions, 0 deletions