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

Unified Diff: third_party/WebKit/Source/core/input/EventHandlerTest.cpp

Issue 2920733002: Rename VisibleSelection::end() to End() (Closed)
Patch Set: 2017-06-01T18:31:38 Created 3 years, 7 months 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/input/EventHandlerTest.cpp
diff --git a/third_party/WebKit/Source/core/input/EventHandlerTest.cpp b/third_party/WebKit/Source/core/input/EventHandlerTest.cpp
index 285f7e29b2301510235b6fd8ffb83e35233209ab..8a39195272e54b29a50d6b1412a9d1559d53054c 100644
--- a/third_party/WebKit/Source/core/input/EventHandlerTest.cpp
+++ b/third_party/WebKit/Source/core/input/EventHandlerTest.cpp
@@ -192,11 +192,11 @@ TEST_F(EventHandlerTest, multiClickSelectionFromTap) {
->GetEditor()
.IsSelectTrailingWhitespaceEnabled()) {
EXPECT_EQ(Position(line, 4),
- Selection().ComputeVisibleSelectionInDOMTreeDeprecated().end());
+ Selection().ComputeVisibleSelectionInDOMTreeDeprecated().End());
EXPECT_EQ("One ", WebString(Selection().SelectedText()).Utf8());
} else {
EXPECT_EQ(Position(line, 3),
- Selection().ComputeVisibleSelectionInDOMTreeDeprecated().end());
+ Selection().ComputeVisibleSelectionInDOMTreeDeprecated().End());
EXPECT_EQ("One", WebString(Selection().SelectedText()).Utf8());
}
@@ -208,7 +208,7 @@ TEST_F(EventHandlerTest, multiClickSelectionFromTap) {
EXPECT_EQ(Position(line, 0),
Selection().ComputeVisibleSelectionInDOMTreeDeprecated().Start());
EXPECT_EQ(Position(line, 13),
- Selection().ComputeVisibleSelectionInDOMTreeDeprecated().end());
+ Selection().ComputeVisibleSelectionInDOMTreeDeprecated().End());
EXPECT_EQ("One Two Three", WebString(Selection().SelectedText()).Utf8());
}

Powered by Google App Engine
This is Rietveld 408576698