| 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 b843324117212bc60e6d04bb0952110a44c963b6..b9885df551871ac46bef6e232c5e411069ebd9bb 100644
|
| --- a/tools/dom/templates/html/dart2js/html_dart2js.darttemplate
|
| +++ b/tools/dom/templates/html/dart2js/html_dart2js.darttemplate
|
| @@ -92,4 +92,5 @@ _callPortSync(int id, message) {
|
| return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message);
|
| }
|
|
|
| -spawnDomFunction(Function f) => IsolateNatives.spawnDomFunction(f);
|
| +Future<SendPort> spawnDomFunction(Function f) =>
|
| + new Future.value(IsolateNatives.spawnDomFunction(f));
|
|
|