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

Unified Diff: runtime/observatory/lib/tracer.dart

Issue 2990913002: Updated observatory_pub_packages dependency (Closed)
Patch Set: Remove reference to old observatory dependencies Created 3 years, 5 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/observatory/.packages ('k') | runtime/observatory/pubspec.lock » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/tracer.dart
diff --git a/runtime/observatory/lib/tracer.dart b/runtime/observatory/lib/tracer.dart
index dc9c4b632427feb270be8802a31e898ff655d9d9..3a18cfd72943ac9d931c0125575564dcdbeaf6a5 100644
--- a/runtime/observatory/lib/tracer.dart
+++ b/runtime/observatory/lib/tracer.dart
@@ -7,7 +7,6 @@ library tracer;
import 'dart:async';
import 'package:logging/logging.dart';
-import 'package:observe/observe.dart';
_deepCopy(src) {
if (src is Map) {
@@ -43,7 +42,7 @@ class TraceEvent {
Map map;
}
-class Tracer extends Observable {
+class Tracer {
// The current global tracer.
static Tracer get current => _current;
@@ -69,7 +68,7 @@ class Tracer extends Observable {
Stopwatch _time;
// A list of all tracing events for thre current request.
- ObservableList<TraceEvent> events = new ObservableList<TraceEvent>();
+ List<TraceEvent> events = <TraceEvent>[];
Tracer() {
_time = new Stopwatch();
« no previous file with comments | « runtime/observatory/.packages ('k') | runtime/observatory/pubspec.lock » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698