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

Unified Diff: runtime/lib/profiler.dart

Issue 2230383003: Implement @patch annotation for patch class members (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: wip Created 4 years, 4 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 | « runtime/lib/object_patch.dart ('k') | runtime/lib/regexp_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/profiler.dart
diff --git a/runtime/lib/profiler.dart b/runtime/lib/profiler.dart
index 9b4ce97dc0ad7511048c6c4376927418706282ab..2a085c2438dbec7f6c991ee84e1043e12c1b1d20 100644
--- a/runtime/lib/profiler.dart
+++ b/runtime/lib/profiler.dart
@@ -5,10 +5,10 @@
import 'dart:_internal';
@patch class UserTag {
- /* @patch */ factory UserTag(String label) {
+ @patch factory UserTag(String label) {
return new _UserTag(label);
}
- /* @patch */ static UserTag get defaultTag => _getDefaultTag();
+ @patch static UserTag get defaultTag => _getDefaultTag();
}
« no previous file with comments | « runtime/lib/object_patch.dart ('k') | runtime/lib/regexp_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698