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

Unified Diff: test/generated_sdk/lib/core/stopwatch.dart

Issue 959913003: cleanup patch generation to preseve comments and remove @patch (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « test/generated_sdk/lib/core/regexp.dart ('k') | test/generated_sdk/lib/core/string.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/generated_sdk/lib/core/stopwatch.dart
diff --git a/test/generated_sdk/lib/core/stopwatch.dart b/test/generated_sdk/lib/core/stopwatch.dart
index ac276809917bd8a9426434929db4497cb58abddb..1307eb1118fc72011433ee383a0f05649d155dd2 100644
--- a/test/generated_sdk/lib/core/stopwatch.dart
+++ b/test/generated_sdk/lib/core/stopwatch.dart
@@ -134,11 +134,13 @@ class Stopwatch {
*/
static int _frequency;
- @patch
+ /**
+ * Initializes the time-measuring system. *Must* initialize the [_frequency]
+ * variable.
+ */
static void _initTicker() {
Primitives.initTicker();
_frequency = Primitives.timerFrequency;
}
- @patch
static int _now() => Primitives.timerTicks();
}
« no previous file with comments | « test/generated_sdk/lib/core/regexp.dart ('k') | test/generated_sdk/lib/core/string.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698