RenderTextHarfBuzz no longer ignores its specified text direction.
The method RenderText::SetDirectionalityMode is supposed to allow the
client to override the default directionality mode (getting the
directionality from the text). However, a bug in BiDiLineIterator means
that it is largely ignored (in the majority of cases, it will use the
directionality of the text regardless).
Fixed BiDiLineIterator to honour the supplied direction.
This should have almost no noticeable effect, as almost all text fields
use the default directionality mode anyway.
BUG=496023,495933
Review URL: https://codereview.chromium.org/
1153603004
Cr-Commit-Position: refs/heads/master@{#334106}