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

Unified Diff: third_party/WebKit/Source/core/editing/FrameSelectionTest.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/editing/FrameSelectionTest.cpp
diff --git a/third_party/WebKit/Source/core/editing/FrameSelectionTest.cpp b/third_party/WebKit/Source/core/editing/FrameSelectionTest.cpp
index d2f1961f1de04253c959da24b96092900ad5b2dc..83c0b38c4d19d31dddb2feb61cd50f4fa7887347 100644
--- a/third_party/WebKit/Source/core/editing/FrameSelectionTest.cpp
+++ b/third_party/WebKit/Source/core/editing/FrameSelectionTest.cpp
@@ -173,10 +173,10 @@ TEST_F(FrameSelectionTest, ModifyExtendWithFlatTree) {
Selection().Modify(FrameSelection::kAlterationExtend, kDirectionForward,
kWordGranularity);
EXPECT_EQ(Position(two, 0), VisibleSelectionInDOMTree().Start());
- EXPECT_EQ(Position(two, 3), VisibleSelectionInDOMTree().end());
+ EXPECT_EQ(Position(two, 3), VisibleSelectionInDOMTree().End());
EXPECT_EQ(PositionInFlatTree(two, 0),
GetVisibleSelectionInFlatTree().Start());
- EXPECT_EQ(PositionInFlatTree(two, 3), GetVisibleSelectionInFlatTree().end());
+ EXPECT_EQ(PositionInFlatTree(two, 3), GetVisibleSelectionInFlatTree().End());
}
TEST_F(FrameSelectionTest, ModifyWithUserTriggered) {

Powered by Google App Engine
This is Rietveld 408576698