| Index: third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutText.cpp b/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| index 3099e448e86b5b3c0ef131b5caadacacbff463b6..5525b67082972566a0504ad61a25512a17afad6d 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| @@ -904,7 +904,7 @@ void LayoutText::computePreferredLogicalWidths(float leadWidth, HashSet<const Si
|
| BidiResolver<TextRunIterator, BidiCharacterRun> bidiResolver;
|
| BidiCharacterRun* run;
|
| TextDirection textDirection = styleToUse.direction();
|
| - if (is8Bit() || isOverride(styleToUse.unicodeBidi())) {
|
| + if ((is8Bit() && textDirection == LTR) || isOverride(styleToUse.unicodeBidi())) {
|
| run = 0;
|
| } else {
|
| TextRun textRun(text());
|
|
|