| Index: runtime/lib/stopwatch_patch.dart
|
| diff --git a/runtime/lib/stopwatch_patch.dart b/runtime/lib/stopwatch_patch.dart
|
| index 2560243aab0cdc02e8243b62d94c95f7dcc00089..f87bc046b7556c1798f35b04e6a8083fc76d4f53 100644
|
| --- a/runtime/lib/stopwatch_patch.dart
|
| +++ b/runtime/lib/stopwatch_patch.dart
|
| @@ -4,15 +4,18 @@
|
|
|
| // A VM patch of the stopwatch part of dart:core.
|
|
|
| -@patch class Stopwatch {
|
| - @patch static void _initTicker() {
|
| +@patch
|
| +class Stopwatch {
|
| + @patch
|
| + static void _initTicker() {
|
| if (_frequency == null) {
|
| _frequency = _computeFrequency();
|
| }
|
| }
|
|
|
| // Returns the current clock tick.
|
| - @patch static int _now() native "Stopwatch_now";
|
| + @patch
|
| + static int _now() native "Stopwatch_now";
|
|
|
| // Returns the frequency of clock ticks in Hz.
|
| static int _computeFrequency() native "Stopwatch_frequency";
|
|
|