Chromium Code Reviews| Index: sdk/lib/_internal/compiler/implementation/lib/core_patch.dart |
| diff --git a/sdk/lib/_internal/compiler/implementation/lib/core_patch.dart b/sdk/lib/_internal/compiler/implementation/lib/core_patch.dart |
| index 5c6cb3bbe6ee7f8a38ba7532fc3d4730c0287a00..7617430821ad3cf5fb8d4493db70b944a544e76d 100644 |
| --- a/sdk/lib/_internal/compiler/implementation/lib/core_patch.dart |
| +++ b/sdk/lib/_internal/compiler/implementation/lib/core_patch.dart |
| @@ -148,8 +148,8 @@ patch class _DateImpl { |
| // Patch for Stopwatch implementation. |
| patch class _StopwatchImpl { |
| - patch static int _frequency() => 1000; |
| - patch static int _now() => Primitives.dateNow(); |
| + patch static int _frequency() => 1000000; |
| + patch static int _now() => Primitives.numMicroseconds(); |
|
Lasse Reichstein Nielsen
2012/11/22 11:26:48
Side note: We should get rid of these "Primitives"
ahe
2012/11/22 12:54:46
I disagree, and this is not the forum for discussi
|
| } |