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 0a0ff4c67eb00b0c0c5a5615eca7cc11313214d2..6bc60a1e3e19f6e15ebbe50f5322dfaacf8adfae 100644 |
--- a/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate |
@@ -377,6 +377,9 @@ $else |
} |
var elemProto = js.context['Object'].callMethod("create", [baseElement['prototype']]); |
+ // Remember for any upgrading done in wrap_jso. |
+ _knownCustomeElements[tag] = customElementClass; |
+ |
// TODO(terry): Hack to stop recursion re-creating custom element when the |
// created() constructor of the custom element does e.g., |
// |