| Index: tools/dom/templates/html/impl/impl_Document.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_Document.darttemplate b/tools/dom/templates/html/impl/impl_Document.darttemplate
|
| index 4b6c0d10ffa8f9e91398fcca8b2fac323fe8457a..b39ee908c75d7338f19be84ebaa6f7d90e552a50 100644
|
| --- a/tools/dom/templates/html/impl/impl_Document.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_Document.darttemplate
|
| @@ -51,7 +51,7 @@ $!MEMBERS
|
| /// Checks if [register] is supported on the current platform.
|
| bool get supportsRegister {
|
| $if DART2JS
|
| - return JS('bool', '("register" in #)', this);
|
| + return JS('bool', '("registerElement" in #)', this);
|
| $else
|
| return true;
|
| $endif
|
|
|