| Index: sdk/lib/_internal/lib/core_patch.dart
|
| diff --git a/sdk/lib/_internal/lib/core_patch.dart b/sdk/lib/_internal/lib/core_patch.dart
|
| index 38e4f4f97dba19e514a102ee2707445e1030616e..b6f538ffec9700b8d3e709384b5d42b256ae2fce 100644
|
| --- a/sdk/lib/_internal/lib/core_patch.dart
|
| +++ b/sdk/lib/_internal/lib/core_patch.dart
|
| @@ -219,9 +219,13 @@ class DateTime {
|
| @patch
|
| class Stopwatch {
|
| @patch
|
| - static int _frequency() => 1000000;
|
| + static void _initTicker() {
|
| + Primitives.initTicker();
|
| + _frequency = Primitives.timerFrequency;
|
| + }
|
| +
|
| @patch
|
| - static int _now() => Primitives.numMicroseconds();
|
| + static int _now() => Primitives.timerTicks();
|
| }
|
|
|
| class _ListConstructorSentinel extends JSInt {
|
|
|