Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3317)

Unified Diff: dart/site/try/src/compilation.dart

Issue 342283004: Address issues found with analyzer (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r37597. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« dart/site/try/src/Makefile ('K') | « dart/site/try/src/caching_compiler.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/site/try/src/compilation.dart
diff --git a/dart/site/try/src/compilation.dart b/dart/site/try/src/compilation.dart
index 2fe3e2bfa04249ceab323f681d7717c7d83be768..63595fa7710bb2ddc1912eb8c94ea0cc8b380396 100644
--- a/dart/site/try/src/compilation.dart
+++ b/dart/site/try/src/compilation.dart
@@ -14,9 +14,6 @@ import 'dart:html' show
Worker,
window;
-import 'dart:async' show
- Timer;
-
import 'dart:isolate' show
ReceivePort,
SendPort;
@@ -289,18 +286,3 @@ self.importScripts("$url");
console.appendText('$message\n');
}
}
-
-void compilerIsolate(SendPort port) {
- // TODO(ahe): Restore when restoring deferred loading.
- // lazy.load().then((_) => port.listen(compile));
- ReceivePort replyTo = new ReceivePort();
- port.send(replyTo.sendPort);
- replyTo.listen((message) {
- List list = message as List;
- try {
- compile(list[0], list[1]);
- } catch (exception, stack) {
- port.send('$exception\n$stack');
- }
- });
-}
« dart/site/try/src/Makefile ('K') | « dart/site/try/src/caching_compiler.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698