Index: third_party/WebKit/Source/core/frame/FrameView.cpp |
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp |
index 92b46e9a1c3850ba0c0b3fbf8bcaefc9d77e9724..2b085b9027e6b1d072848d10ed4f460ecd54619b 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp |
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp |
@@ -1959,9 +1959,11 @@ bool FrameView::computeCompositedSelection(LocalFrame& frame, |
} |
} |
selection.start.isTextDirectionRTL |= |
- primaryDirectionOf(*visibleSelection.start().anchorNode()) == RTL; |
+ primaryDirectionOf(*visibleSelection.start().anchorNode()) == |
+ TextDirection::Rtl; |
selection.end.isTextDirectionRTL |= |
- primaryDirectionOf(*visibleSelection.end().anchorNode()) == RTL; |
+ primaryDirectionOf(*visibleSelection.end().anchorNode()) == |
+ TextDirection::Rtl; |
return true; |
} |