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

Unified Diff: third_party/WebKit/Source/core/editing/VisibleSelectionTest.cpp

Issue 2706003002: Get rid of unused functions SelectionAdjuster::adjustSelectionIn{DOM,Flat}Tree (Closed)
Patch Set: 2017-02-20T18:17:58 Created 3 years, 10 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
« no previous file with comments | « third_party/WebKit/Source/core/editing/SelectionAdjusterTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/VisibleSelectionTest.cpp
diff --git a/third_party/WebKit/Source/core/editing/VisibleSelectionTest.cpp b/third_party/WebKit/Source/core/editing/VisibleSelectionTest.cpp
index 1ab7b726512409006aba464b46de63485c7b42ec..549b61c281cdda036fd47b024cf1a2e1c533767c 100644
--- a/third_party/WebKit/Source/core/editing/VisibleSelectionTest.cpp
+++ b/third_party/WebKit/Source/core/editing/VisibleSelectionTest.cpp
@@ -481,11 +481,6 @@ TEST_F(VisibleSelectionTest, updateIfNeededWithShadowHost) {
// Simulates to restore selection from undo stack.
selection.updateIfNeeded();
EXPECT_EQ(Position(sample->firstChild(), 0), selection.start());
-
- VisibleSelectionInFlatTree selectionInFlatTree;
- SelectionAdjuster::adjustSelectionInFlatTree(&selectionInFlatTree, selection);
- EXPECT_EQ(PositionInFlatTree(sample->firstChild(), 0),
- selectionInFlatTree.start());
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/editing/SelectionAdjusterTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698