Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1245)

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.cpp

Issue 2555923002: Changed TextDirection to an enum class and renamed its members (Closed)
Patch Set: Rebase after reopen Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}
« no previous file with comments | « third_party/WebKit/Source/core/editing/VisibleUnits.cpp ('k') | third_party/WebKit/Source/core/html/HTMLElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698