Index: runtime/observatory/lib/src/app/page.dart |
diff --git a/runtime/observatory/lib/src/app/page.dart b/runtime/observatory/lib/src/app/page.dart |
index 4130dda43cdd542bef0cee64429b9d777f14e691..361ac7adde8702f2d1f83f9a681abaad8252bf2f 100644 |
--- a/runtime/observatory/lib/src/app/page.dart |
+++ b/runtime/observatory/lib/src/app/page.dart |
@@ -799,14 +799,11 @@ class TimelinePage extends Page { |
TimelinePage(app) : super(app); |
void onInstall() { |
- if (element == null) { |
- element = new Element.tag('timeline-page'); |
- } |
- assert(element != null); |
+ element = new TimelinePageElement(app.vm, app.events, app.notifications, |
+ queue: app.queue); |
} |
void _visit(Uri uri) { |
- assert(element != null); |
assert(canVisit(uri)); |
} |