| Index: third_party/WebKit/Source/core/editing/Selection.idl
|
| diff --git a/third_party/WebKit/Source/core/editing/Selection.idl b/third_party/WebKit/Source/core/editing/Selection.idl
|
| index ad3935ef6d06a10977bc7f40c62e6e3ced3cbfe2..19be361c58dc0cdc7ef4ef360c931ce40ae1450d 100644
|
| --- a/third_party/WebKit/Source/core/editing/Selection.idl
|
| +++ b/third_party/WebKit/Source/core/editing/Selection.idl
|
| @@ -52,12 +52,9 @@
|
| [MeasureAs=SelectionCollapseToEnd, RaisesException] void collapseToEnd();
|
| [MeasureAs=SelectionExtend, RaisesException] void extend(Node node, optional long offset = 0);
|
| // TODO(philipj): The arguments should be anchorNode, anchorOffset,
|
| - // focusNode and focusOffset, and none of them are optional or nullable in
|
| - // the spec.
|
| - [MeasureAs=SelectionSetBaseAndExtent, RaisesException] void setBaseAndExtent([Default=Undefined] optional Node? baseNode,
|
| - [Default=Undefined] optional long baseOffset,
|
| - [Default=Undefined] optional Node? extentNode,
|
| - [Default=Undefined] optional long extentOffset);
|
| + // focusNode and focusOffset, and none of them are nullable in the spec.
|
| + [MeasureAs=SelectionSetBaseAndExtent, RaisesException] void setBaseAndExtent(Node? baseNode, long baseOffset,
|
| + Node? extentNode, long extentOffset);
|
| [MeasureAs=SelectionSelectAllChildren, RaisesException] void selectAllChildren(Node node);
|
| [MeasureAs=SelectionDeleteDromDocument, CustomElementCallbacks] void deleteFromDocument();
|
| [MeasureAs=SelectionContainsNode] boolean containsNode(Node node, optional boolean allowPartialContainment = false);
|
|
|