| Index: third_party/WebKit/Source/core/layout/BidiRunForLine.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/BidiRunForLine.cpp b/third_party/WebKit/Source/core/layout/BidiRunForLine.cpp
|
| index 8ade9f83e1e5b644137cd5acf5b6874d37fa978e..a3317ce0de3efa22af413220f708c99022fe63be 100644
|
| --- a/third_party/WebKit/Source/core/layout/BidiRunForLine.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/BidiRunForLine.cpp
|
| @@ -35,7 +35,7 @@ static LayoutObject* firstLayoutObjectForDirectionalityDetermination(
|
| {
|
| LayoutObject* next = current;
|
| while (current) {
|
| - if (isIsolated(current->style()->unicodeBidi())
|
| + if (treatAsIsolated(current->styleRef())
|
| && (current->isLayoutInline() || current->isLayoutBlock())) {
|
| if (current != root)
|
| current = nullptr;
|
| @@ -56,7 +56,7 @@ static LayoutObject* firstLayoutObjectForDirectionalityDetermination(
|
| break;
|
|
|
| if (!isIteratorTarget(LineLayoutItem(current))
|
| - && !isIsolated(current->style()->unicodeBidi()))
|
| + && !treatAsIsolated(current->styleRef()))
|
| next = current->slowFirstChild();
|
|
|
| if (!next) {
|
|
|