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

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

Issue 1392953003: Add view for MegamorphicCache. Update view for ObjectPool. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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/megamorphiccache_view.dart
diff --git a/runtime/observatory/lib/src/elements/icdata_view.dart b/runtime/observatory/lib/src/elements/megamorphiccache_view.dart
similarity index 58%
copy from runtime/observatory/lib/src/elements/icdata_view.dart
copy to runtime/observatory/lib/src/elements/megamorphiccache_view.dart
index d69f6729e46edc91b1898edc139e90e894b6d823..59cb30119eeccdea0c4ec1bbe942a213934ea21f 100644
--- a/runtime/observatory/lib/src/elements/icdata_view.dart
+++ b/runtime/observatory/lib/src/elements/megamorphiccache_view.dart
@@ -2,20 +2,20 @@
// 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.
-library icdata_view;
+library megamorphiccache_view;
import 'dart:async';
import 'observatory_element.dart';
import 'package:observatory/service.dart';
import 'package:polymer/polymer.dart';
-@CustomTag('icdata-view')
-class ICDataViewElement extends ObservatoryElement {
- @published ICData icData;
+@CustomTag('megamorphiccache-view')
+class MegamorphicCacheViewElement extends ObservatoryElement {
+ @published MegamorphicCache megamorphicCache;
- ICDataViewElement.created() : super.created();
+ MegamorphicCacheViewElement.created() : super.created();
Future refresh() {
- return icData.reload();
+ return megamorphicCache.reload();
}
}
« no previous file with comments | « runtime/observatory/lib/elements.html ('k') | runtime/observatory/lib/src/elements/megamorphiccache_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698