Fix handling of Arabic script in SVGTextContentElement.getSubStringLength

Pass the direction of the line box instead of the layout object when
measuring the sub string.

BUG=470326

Review URL: https://codereview.chromium.org/1032363002

git-svn-id: svn://svn.chromium.org/blink/trunk@192670 bbb929c8-8fbe-4397-9dbb-9b2b20218538
3 files changed
tree: b4680bd7da7422b83ae355ac3007a36189c26f2d
  1. third_party/