| Index: tools/dom/templates/html/impl/impl_Element.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_Element.darttemplate b/tools/dom/templates/html/impl/impl_Element.darttemplate
|
| index 8c40812dfe04944d16ee1b789ff59607429c8391..fad7945741868c45ecb48d10db940480928d34ad 100644
|
| --- a/tools/dom/templates/html/impl/impl_Element.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_Element.darttemplate
|
| @@ -153,7 +153,7 @@ class _ChildrenElementList implements List {
|
| void remove(Object object) {
|
| if (object is Element) {
|
| Element element = object;
|
| - if (identical(element.parentNode, this)) {
|
| + if (identical(element.parentNode, _element)) {
|
| _element.$dom_removeChild(element);
|
| }
|
| }
|
|
|