| 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 11a85d062b961274345968ba76425487819348b6..d9a827dcf4b800a8f0a612bd2377108f18bce962 100644
|
| --- a/third_party/WebKit/Source/core/editing/VisibleSelection.h
|
| +++ b/third_party/WebKit/Source/core/editing/VisibleSelection.h
|
| @@ -125,8 +125,14 @@ class CORE_TEMPLATE_CLASS_EXPORT VisibleSelectionTemplate {
|
| bool IsContentRichlyEditable() const;
|
|
|
| bool IsValidFor(const Document&) const;
|
| - void SetWithoutValidation(const PositionTemplate<Strategy>&,
|
| - const PositionTemplate<Strategy>&);
|
| +
|
| + // TODO(editing-dev): |CreateWithoutValidationDeprecated()| is allowed
|
| + // only to use in |TypingCommand| to remove part of grapheme cluster.
|
| + // Note: |base| and |extent| can be disconnect position.
|
| + static VisibleSelectionTemplate<Strategy> CreateWithoutValidationDeprecated(
|
| + const PositionTemplate<Strategy>& base,
|
| + const PositionTemplate<Strategy>& extent,
|
| + TextAffinity);
|
|
|
| DECLARE_TRACE();
|
|
|
|
|