Index: sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart b/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart |
index f33154dc95d642cc791d8b8bd0f378c2dfe87717..5b09ac9e1fe5b36c3ced6ec19a291fa0542ea919 100644 |
--- a/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart |
+++ b/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart |
@@ -1318,7 +1318,7 @@ class TimerImpl implements Timer { |
} |
} |
- TimerImpl.repeating(int milliseconds, void callback(Timer timer)) |
+ TimerImpl.periodic(int milliseconds, void callback(Timer timer)) |
: _once = false { |
if (hasTimer()) { |
_globalState.topEventLoop.activeTimerCount++; |
@@ -1327,7 +1327,7 @@ class TimerImpl implements Timer { |
convertDartClosureToJS(() { callback(this); }, 0), |
milliseconds); |
} else { |
- throw new UnsupportedError("Repeating timer."); |
+ throw new UnsupportedError("Periodic timer."); |
} |
} |