Index: lib/dom/templates/html/frog/html_frog.darttemplate |
diff --git a/lib/dom/templates/html/frog/html_frog.darttemplate b/lib/dom/templates/html/frog/html_frog.darttemplate |
index 392f7576f2f035acaf777cf94dfdd354208fba0e..82ae5a6282daed612e1f3324da22494799b6afc7 100644 |
--- a/lib/dom/templates/html/frog/html_frog.darttemplate |
+++ b/lib/dom/templates/html/frog/html_frog.darttemplate |
@@ -80,9 +80,7 @@ class _JsSendPortSync implements SendPortSync { |
} |
static _call(num id, var message) native @""" |
- var deserialized = _deserialize(message); |
- var result = ReceivePortSync.map[id].callback(deserialized); |
- return _serialize(result); |
+ return ReceivePortSync.dispatchCall(id, message); |
"""; |
} |