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 7f51a8ea2f0253d13b970f7048151736e327d7cf..0129c3483241971b0cf60005fb511c885deb1f34 100644 |
--- a/runtime/observatory/lib/src/app/page.dart |
+++ b/runtime/observatory/lib/src/app/page.dart |
@@ -18,7 +18,7 @@ abstract class Page extends Observable { |
final ObservatoryApplication app; |
final ObservableMap<String, String> internalArguments = |
new ObservableMap<String, String>(); |
- @observable ObservatoryElement element; |
+ @observable HtmlElement element; |
Page(this.app); |
@@ -370,7 +370,12 @@ class VMConnectPage extends Page { |
void onInstall() { |
if (element == null) { |
- element = new Element.tag('vm-connect'); |
+ element = new VMConnectElement( |
+ ObservatoryApplication.app.targets, |
+ new CrashDumpRepositoryMock( |
+ load: ObservatoryApplication.app.loadCrashDump), |
+ ObservatoryApplication.app.notifications, |
+ queue: ObservatoryApplication.app.queue); |
} |
assert(element != null); |
} |