Fixed algorithms that compute bounding rectangles and word start offsets to take into account IA2 hypertext and i18n.
1. std::string was being used instead of base::string16.
2. Start offset and len did not take into account embedded objects in IA2 hypertext and existing functions worked on the assumption that object hierarchy had been flattened.
BUG=
578341
R=dmazzoni@chromium.org
TESTED=NVDA console, browser tests
Committed:
https://crrev.com/31a53111bcf69efa7ff1481a0efd19b89a3b7cad
Cr-Commit-Position: refs/heads/master@{#370788}