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

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: Small rebase fixes 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 7d57db8ba1101988585e2c7c2cab6fa1d7b7b5f2..eeca44f8c3a062d9070d4f56b286611e45af3679 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -1933,9 +1933,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;
}

Powered by Google App Engine
This is Rietveld 408576698