| Index: lib/html/templates/html/impl/impl_Node.darttemplate
|
| diff --git a/lib/html/templates/html/impl/impl_Node.darttemplate b/lib/html/templates/html/impl/impl_Node.darttemplate
|
| index dcd5698d65cc589bfcf3418f6266ce5ea3b2bea7..b7f581e818184f53f1e2441cb180aa01f17a3670 100644
|
| --- a/lib/html/templates/html/impl/impl_Node.darttemplate
|
| +++ b/lib/html/templates/html/impl/impl_Node.darttemplate
|
| @@ -124,12 +124,12 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| }
|
|
|
| // TODO(jacobr): should we throw an exception if parent is already null?
|
| - _NodeImpl remove() {
|
| + // TODO(vsm): Use the native remove when available.
|
| + void remove() {
|
| if (this.parent != null) {
|
| final _NodeImpl parent = this.parent;
|
| parent.$dom_removeChild(this);
|
| }
|
| - return this;
|
| }
|
|
|
| _NodeImpl replaceWith(Node otherNode) {
|
|
|