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

Unified Diff: runtime/observatory/lib/src/elements/error_view.dart

Issue 2310003004: Removed polymer & mirror from Observatory (Closed)
Patch Set: Fixed crash in heap-map page Created 4 years, 3 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
Index: runtime/observatory/lib/src/elements/error_view.dart
diff --git a/runtime/observatory/lib/src/elements/error_view.dart b/runtime/observatory/lib/src/elements/error_view.dart
index aeb3aa848038081b50b206770a5eb7d138d0f03b..92fee0867a029eed7ec12ddff7d86edb02d5642f 100644
--- a/runtime/observatory/lib/src/elements/error_view.dart
+++ b/runtime/observatory/lib/src/elements/error_view.dart
@@ -7,17 +7,16 @@ library error_view_element;
import 'dart:html';
import 'dart:async';
import 'package:observatory/models.dart' as M;
+import 'package:observatory/src/elements/helpers/nav_bar.dart';
import 'package:observatory/src/elements/helpers/rendering_scheduler.dart';
import 'package:observatory/src/elements/helpers/tag.dart';
-import 'package:observatory/src/elements/nav/bar.dart';
import 'package:observatory/src/elements/nav/notify.dart';
import 'package:observatory/src/elements/nav/top_menu.dart';
import 'package:observatory/src/elements/view_footer.dart';
class ErrorViewElement extends HtmlElement implements Renderable{
static const tag = const Tag<ErrorViewElement>('error-view',
- dependencies: const [NavBarElement.tag,
- NavTopMenuElement.tag,
+ dependencies: const [NavTopMenuElement.tag,
NavNotifyElement.tag,
ViewFooterElement.tag]);
@@ -60,11 +59,10 @@ class ErrorViewElement extends HtmlElement implements Renderable{
void render() {
children = [
- new NavBarElement(queue: _r.queue)
- ..children = [
- new NavTopMenuElement(last: true, queue: _r.queue),
- new NavNotifyElement(_notifications, queue: _r.queue)
- ],
+ navBar([
+ new NavTopMenuElement(queue: _r.queue),
+ new NavNotifyElement(_notifications, queue: _r.queue)
+ ]),
new DivElement()
..classes = ['content-centered']
..children = [
« no previous file with comments | « runtime/observatory/lib/src/elements/error_ref_wrapper.dart ('k') | runtime/observatory/lib/src/elements/eval_box.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698