Index: sdk/lib/html/dart2js/html_dart2js.dart |
=================================================================== |
--- sdk/lib/html/dart2js/html_dart2js.dart (revision 16903) |
+++ sdk/lib/html/dart2js/html_dart2js.dart (working copy) |
@@ -48,8 +48,7 @@ |
return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message); |
} |
-// TODO(vsm): Plumb this properly. |
-spawnDomFunction(f) => spawnFunction(f); |
+spawnDomFunction(f) => IsolateNatives.spawnDomFunction(f); |
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |