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

Unified Diff: third_party/WebKit/Source/core/editing/EditingUtilitiesTest.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/editing/EditingUtilitiesTest.cpp
diff --git a/third_party/WebKit/Source/core/editing/EditingUtilitiesTest.cpp b/third_party/WebKit/Source/core/editing/EditingUtilitiesTest.cpp
index 0545234993a427027970d1f464c072dc1c1e3855..1e90530d5cf346692d96f99905ec773cc2698f9b 100644
--- a/third_party/WebKit/Source/core/editing/EditingUtilitiesTest.cpp
+++ b/third_party/WebKit/Source/core/editing/EditingUtilitiesTest.cpp
@@ -21,8 +21,9 @@ TEST_F(EditingUtilitiesTest, directionOfEnclosingBlock) {
setShadowContent(shadowContent, "host");
Node* one = document().getElementById("one");
- EXPECT_EQ(LTR, directionOfEnclosingBlock(Position(one, 0)));
- EXPECT_EQ(RTL, directionOfEnclosingBlock(PositionInFlatTree(one, 0)));
+ EXPECT_EQ(TextDirection::Ltr, directionOfEnclosingBlock(Position(one, 0)));
+ EXPECT_EQ(TextDirection::Rtl,
+ directionOfEnclosingBlock(PositionInFlatTree(one, 0)));
}
TEST_F(EditingUtilitiesTest, firstEditablePositionAfterPositionInRoot) {

Powered by Google App Engine
This is Rietveld 408576698