| 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 3445f6b20251ac97a6b2c8b6a5f89649dd9987fe..dc6d0d110252567fcb4983dea422f67c62318f34 100644
|
| --- a/tools/dom/templates/html/dartium/html_dartium.darttemplate
|
| +++ b/tools/dom/templates/html/dartium/html_dartium.darttemplate
|
| @@ -75,7 +75,7 @@ var _callPortLastResult = null;
|
|
|
| _callPortSync(num id, var message) {
|
| if (!_callPortInitialized) {
|
| - window.on['js-result'].add((event) {
|
| + window.on['js-result'].listen((event) {
|
| _callPortLastResult = json.parse(_getPortSyncEventData(event));
|
| }, false);
|
| _callPortInitialized = true;
|
|
|