Index: tools/dom/templates/html/dart2js/html_dart2js.darttemplate |
diff --git a/tools/dom/templates/html/dart2js/html_dart2js.darttemplate b/tools/dom/templates/html/dart2js/html_dart2js.darttemplate |
index 952f55685d04691d8d7ef9e03eef243114260ad6..30400a158905c10eba6cdb9d01fa3deccc5a31e6 100644 |
--- a/tools/dom/templates/html/dart2js/html_dart2js.darttemplate |
+++ b/tools/dom/templates/html/dart2js/html_dart2js.darttemplate |
@@ -149,3 +149,8 @@ Future<Isolate> spawnDomUri(Uri uri, List<String> args, message) { |
// TODO(17738): Implement this. |
throw new UnimplementedError(); |
} |
+ |
+/// Dartium functions that are a NOOP in dart2js. |
+unwrap_jso(dartClass_instance) => dartClass_instance; |
+wrap_jso(jsObject) => jsObject; |
+createCustomUpgrader(Type customElementClass, $this) => $this; |