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

Unified Diff: sdk/lib/_internal/compiler/implementation/lib/isolate_patch.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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
Index: sdk/lib/_internal/compiler/implementation/lib/isolate_patch.dart
diff --git a/sdk/lib/_internal/compiler/implementation/lib/isolate_patch.dart b/sdk/lib/_internal/compiler/implementation/lib/isolate_patch.dart
index cd661b177c6e36fecad20d7693239517edeb1310..a948a8311e4cf9044c309f611f48d2e84625890f 100644
--- a/sdk/lib/_internal/compiler/implementation/lib/isolate_patch.dart
+++ b/sdk/lib/_internal/compiler/implementation/lib/isolate_patch.dart
@@ -27,23 +27,3 @@ patch class ReceivePort {
return new ReceivePortImpl();
}
}
-
-patch class Timer {
- patch factory Timer(int milliseconds, void callback(Timer timer)) {
- if (!hasTimer()) {
- throw new UnsupportedError("Timer interface not supported.");
- }
- return new TimerImpl(milliseconds, callback);
- }
-
- /**
- * Creates a new repeating timer. The [callback] is invoked every
- * [milliseconds] millisecond until cancelled.
- */
- patch factory Timer.repeating(int milliseconds, void callback(Timer timer)) {
- if (!hasTimer()) {
- throw new UnsupportedError("Timer interface not supported.");
- }
- return new TimerImpl.repeating(milliseconds, callback);
- }
-}

Powered by Google App Engine
This is Rietveld 408576698