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 146645ca1360f94f07bb1e211036a37219fe6559..3107c519294bab00ae678e4e829f96157791dea8 100644 |
--- a/tools/dom/templates/html/dart2js/html_dart2js.darttemplate |
+++ b/tools/dom/templates/html/dart2js/html_dart2js.darttemplate |
@@ -72,7 +72,6 @@ part '$AUXILIARY_DIR/EventListener.dart'; |
part '$AUXILIARY_DIR/EventStreamProvider.dart'; |
part '$AUXILIARY_DIR/Html5NodeValidator.dart'; |
part '$AUXILIARY_DIR/ImmutableListMixin.dart'; |
-part '$AUXILIARY_DIR/Isolates.dart'; |
part '$AUXILIARY_DIR/KeyCode.dart'; |
part '$AUXILIARY_DIR/KeyLocation.dart'; |
part '$AUXILIARY_DIR/KeyName.dart'; |
@@ -131,16 +130,3 @@ class HtmlElement extends Element native "HTMLElement" { |
// older Chrome versions. |
// Issue #12573. |
abstract class _EntryArray implements List<Entry> native "EntryArray" {} |
- |
-// Support for Send/ReceivePortSync. |
-int _getNewIsolateId() { |
- if (JS('bool', r'!window.$dart$isolate$counter')) { |
- JS('void', r'window.$dart$isolate$counter = 1'); |
- } |
- return JS('int', r'window.$dart$isolate$counter++'); |
-} |
- |
-// Fast path to invoke JS send port. |
-_callPortSync(int id, message) { |
- return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message); |
-} |