Index: tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate b/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate |
index bb0374536b62b44f8081edec0b990a6c6f65310e..313a2ef61a4d0eafc28534078a0bebea49d8153c 100644 |
--- a/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate |
@@ -402,7 +402,7 @@ $else |
dartClass = _blink.Blink_Utils.constructElement(customElementClass, $this); |
} catch (e) { |
dartClass = HtmlElement.internalCreateHtmlElement(); |
- dartClass.badUpgrade(); |
+ dartClass._badUpgrade(); |
throw e; |
} finally { |
// Need to remember the Dart class that was created for this custom so |