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

Unified Diff: third_party/WebKit/Source/core/editing/VisibleSelection.h

Issue 2710943002: Get rid of unused functions VisibleSelection::setBase and setExtent taking Position (Closed)
Patch Set: 2017-02-22T22:07:34 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 | « no previous file | third_party/WebKit/Source/core/editing/VisibleSelection.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/VisibleSelection.h
diff --git a/third_party/WebKit/Source/core/editing/VisibleSelection.h b/third_party/WebKit/Source/core/editing/VisibleSelection.h
index 6da5081cca6cba8d97f0f3f1f333d0fbd9f9d061..d5b0fabc2abac2c6b6097fd5517df03d015648f6 100644
--- a/third_party/WebKit/Source/core/editing/VisibleSelection.h
+++ b/third_party/WebKit/Source/core/editing/VisibleSelection.h
@@ -69,9 +69,7 @@ class CORE_TEMPLATE_CLASS_EXPORT VisibleSelectionTemplate {
// TODO(yosin): To make |VisibleSelection| as immutable object, we should
// get rid of |setBase()| and |setExtent()| by replacing them with
// |createVisibleSelection()|.
- void setBase(const PositionTemplate<Strategy>&);
void setBase(const VisiblePositionTemplate<Strategy>&);
- void setExtent(const PositionTemplate<Strategy>&);
void setExtent(const VisiblePositionTemplate<Strategy>&);
SelectionTemplate<Strategy> asSelection() const;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/VisibleSelection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698