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

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

Issue 2776983003: Expand FrameSelection/SelectionEditor::firstRange() (Closed)
Patch Set: Created 3 years, 9 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/SelectionEditor.h ('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/SelectionEditor.cpp
diff --git a/third_party/WebKit/Source/core/editing/SelectionEditor.cpp b/third_party/WebKit/Source/core/editing/SelectionEditor.cpp
index 615c5d770b4043b30b15b649f011dc21ed370af3..778bbd7617be837f212cd8f10497919f1b67e28b 100644
--- a/third_party/WebKit/Source/core/editing/SelectionEditor.cpp
+++ b/third_party/WebKit/Source/core/editing/SelectionEditor.cpp
@@ -348,10 +348,6 @@ void SelectionEditor::didSplitTextNode(const Text& oldNode) {
didFinishTextChange(newBase, newExtent);
}
-Range* SelectionEditor::firstRange() const {
- return createRange(firstEphemeralRangeOf(computeVisibleSelectionInDOMTree()));
-}
-
bool SelectionEditor::shouldAlwaysUseDirectionalSelection() const {
return frame()->editor().behavior().shouldConsiderSelectionAsDirectional();
}
« no previous file with comments | « third_party/WebKit/Source/core/editing/SelectionEditor.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698