diff options
author | xiaochengh <xiaochengh@chromium.org> | 2016-01-21 03:24:45 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-21 11:25:39 +0000 |
commit | 503351d5107ecbf885344e7cf3703bfff238b50b (patch) | |
tree | 7b46a3eaa14455954833a86fb1811e80dbb6cfbd /infra/config/cq.cfg | |
parent | f71fd0603c36cc7c65392e84955e403de8a55b57 (diff) | |
download | chromium_src-503351d5107ecbf885344e7cf3703bfff238b50b.zip chromium_src-503351d5107ecbf885344e7cf3703bfff238b50b.tar.gz chromium_src-503351d5107ecbf885344e7cf3703bfff238b50b.tar.bz2 |
Prevent copyTextTo() from Breaking Code Points
This CL renames and hides original |copyTextTo()| functions as private
|copyCodeUnitsTo()|.
New |copyTextTo()| functions are introduced to |TextIterator| and
|SimplifiedBackwardsTextIterator| to allow copying a range of characters
to a buffer without worrying about breaking code points. The new functions
are implemented as wrappers of |copyCodeUnitsTo()|.
This is part of a bigger CL [1].
[1] https://codereview.chromium.org/1604783002
BUG=n/a
TEST=webkit_unit_tests --gtest_filter=*TextIteratorTest.CopyWholeCodePoints
Review URL: https://codereview.chromium.org/1607213002
Cr-Commit-Position: refs/heads/master@{#370669}
Diffstat (limited to 'infra/config/cq.cfg')
0 files changed, 0 insertions, 0 deletions