| Index: tools/dom/templates/html/impl/impl_Node.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_Node.darttemplate b/tools/dom/templates/html/impl/impl_Node.darttemplate
|
| index af1644763a7f2b71f4ede4194513b671918cbfbe..1d84f30f2c48f8ecc55f7de19152e50f4861bafb 100644
|
| --- a/tools/dom/templates/html/impl/impl_Node.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_Node.darttemplate
|
| @@ -106,11 +106,12 @@ $endif
|
| return result;
|
| }
|
|
|
| - void remove(Object object) {
|
| - if (object is! Node) return;
|
| + bool remove(Object object) {
|
| + if (object is! Node) return false;
|
| Node node = object;
|
| - if (!identical(_this, node.parentNode)) return;
|
| + if (!identical(_this, node.parentNode)) return false;
|
| _this.$dom_removeChild(node);
|
| + return true;
|
| }
|
|
|
| void _filter(bool test(Node node), bool removeMatching) {
|
|
|