Index: tools/dom/templates/html/dartium/html_dartium.darttemplate |
diff --git a/tools/dom/templates/html/dartium/html_dartium.darttemplate b/tools/dom/templates/html/dartium/html_dartium.darttemplate |
index e5e5e33609965c0d0086ba15144a734b30fe1ad7..787ac5b8d32f7c1d6eeab9fdbfe8d50aeaa09707 100644 |
--- a/tools/dom/templates/html/dartium/html_dartium.darttemplate |
+++ b/tools/dom/templates/html/dartium/html_dartium.darttemplate |
@@ -575,7 +575,7 @@ wrap_jso_custom_element(jsObject) { |
_upgradeHtmlElement(dartInstance) { |
// Only try upgrading HtmlElement (Dart class) if there is a failure then |
// don't try it again - one failure is enough. |
- if (dartInstance.runtimeType == HtmlElement && !dartInstance.isBadUpgrade) { |
+ if (dartInstance.runtimeType == HtmlElement && !dartInstance._isBadUpgrade) { |
// Must be exactly HtmlElement not something derived from it. |
var jsObject = dartInstance.blink_jsObject; |
var localName = dartInstance.localName; |
@@ -585,7 +585,7 @@ _upgradeHtmlElement(dartInstance) { |
try { |
dartInstance = _blink.Blink_Utils.constructElement(customElementClass, jsObject); |
} catch (e) { |
- dartInstance.badUpgrade(); |
+ dartInstance._badUpgrade(); |
} finally { |
dartInstance.blink_jsObject = jsObject; |
jsObject['dart_class'] = dartInstance; |
@@ -685,7 +685,7 @@ createCustomUpgrader(Type customElementClass, $this) { |
try { |
dartClass = _blink.Blink_Utils.constructElement(customElementClass, $this); |
} catch (e) { |
- dartClass.badUpgrade(); |
+ dartClass._badUpgrade(); |
throw e; |
} finally { |
// Need to remember the Dart class that was created for this custom so |