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 2272939031b15856df3631c4a2aa53d00b33cf0d..0e24a1695d643fb57be3f4770944aad8c4318d43 100644 |
--- a/third_party/WebKit/Source/core/editing/VisibleSelection.h |
+++ b/third_party/WebKit/Source/core/editing/VisibleSelection.h |
@@ -59,14 +59,9 @@ class CORE_TEMPLATE_CLASS_EXPORT VisibleSelectionTemplate { |
VisibleSelectionTemplate(const VisibleSelectionTemplate&); |
VisibleSelectionTemplate& operator=(const VisibleSelectionTemplate&); |
- // Note: |create()| should be used only by |createVisibleSelection| and |
- // |selectionFromContentsOfNode|. |
+ // Note: |create()| should be used only by |createVisibleSelection|. |
static VisibleSelectionTemplate create(const SelectionTemplate<Strategy>&); |
- // TODO(editing-dev): We should get rid of this function and instead, use |
- // EphemeralRangeTemplate::rangeOfContents and SelectionTemplate::Builder. |
- static VisibleSelectionTemplate selectionFromContentsOfNode(Node*); |
- |
SelectionType getSelectionType() const { return m_selectionType; } |
void setAffinity(TextAffinity affinity) { m_affinity = affinity; } |