Change NonSharedCharacterBreakIterator constructor to take StringView

This patch changes the constructor to take a StringView, so
that callers can create the iterator without allocating a
string.

Bug: 636993
Change-Id: I68952e2d685a1c2712700a999f98ad6c9c06f4a0
Reviewed-on: https://chromium-review.googlesource.com/1165276
Commit-Queue: Koji Ishii <kojii@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#581771}
3 files changed