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

Unified Diff: runtime/lib/profiler.dart

Issue 2767533002: Revert "Fix observatory tests broken by running dartfmt." (Closed)
Patch Set: Created 3 years, 9 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/print_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 d29b54d75e4d0a6a8ebf81cd76e4d1a3141266c6..acf6f583fbf0740b4dca2f914cb517fb8a523c62 100644
--- a/runtime/lib/profiler.dart
+++ b/runtime/lib/profiler.dart
@@ -2,14 +2,11 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-@patch
-class UserTag {
- @patch
- factory UserTag(String label) {
+@patch class UserTag {
+ @patch factory UserTag(String label) {
return new _UserTag(label);
}
- @patch
- static UserTag get defaultTag => _getDefaultTag();
+ @patch static UserTag get defaultTag => _getDefaultTag();
}
class _UserTag implements UserTag {
@@ -18,8 +15,7 @@ class _UserTag implements UserTag {
UserTag makeCurrent() native "UserTag_makeCurrent";
}
-@patch
-UserTag getCurrentTag() => _getCurrentTag();
+@patch UserTag getCurrentTag() => _getCurrentTag();
UserTag _getCurrentTag() native "Profiler_getCurrentTag";
UserTag _getDefaultTag() native "UserTag_defaultTag";
« no previous file with comments | « runtime/lib/print_patch.dart ('k') | runtime/lib/regexp_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698