| Index: Source/core/editing/FrameSelection.cpp
|
| diff --git a/Source/core/editing/FrameSelection.cpp b/Source/core/editing/FrameSelection.cpp
|
| index 04c181c5199020ae4c312cf7dcf5466b32ad776a..35afcb8f626c2820e947d2dcb2d7916846f9c1a7 100644
|
| --- a/Source/core/editing/FrameSelection.cpp
|
| +++ b/Source/core/editing/FrameSelection.cpp
|
| @@ -477,7 +477,7 @@ void FrameSelection::updateSelectionIfNeeded(const Position& base, const Positio
|
|
|
| TextDirection FrameSelection::directionOfEnclosingBlock()
|
| {
|
| - return blink::directionOfEnclosingBlock(m_selection.extent());
|
| + return blink::isEnclosingBoxHasLeftToRightDirection(m_selection.extent()) ? LTR : RTL;
|
| }
|
|
|
| TextDirection FrameSelection::directionOfSelection()
|
|
|