Remove textDirection parameter from min/maxLogicalWidth

Remove unnecessary textDirection parameter from the min/maxLogicalWidth
methods and computePreferredLogicalWidths and instead use the resolved
text directionality.

BUG=333004
R=dglazkov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168449 bbb929c8-8fbe-4397-9dbb-9b2b20218538