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

Unified Diff: runtime/observatory/tests/observatory_ui/mocks/objects/megamorphiccache.dart

Issue 2294073003: Converted Observatory class-view element (Closed)
Patch Set: Addressed comments Created 4 years, 4 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/tests/observatory_ui/mocks/objects/megamorphiccache.dart
diff --git a/runtime/observatory/tests/observatory_ui/mocks/objects/megamorphiccache.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/megamorphiccache.dart
index 07da7f1c5a748cdbf91b7684d145ee14f1a0aa53..b9bbd3df01f53d610a194fa81ce409dcf823c623 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/megamorphiccache.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/megamorphiccache.dart
@@ -15,6 +15,7 @@ class MegamorphicCacheRefMock implements M.MegamorphicCacheRef {
class MegamorphicCacheMock implements M.MegamorphicCache {
final String id;
final M.ClassRef clazz;
+ final String vmName;
final int size;
final String selector;
final int mask;
@@ -22,7 +23,11 @@ class MegamorphicCacheMock implements M.MegamorphicCache {
final M.InstanceRef argumentsDescriptor;
const MegamorphicCacheMock({this.id : 'megamorphiccache-id',
- this.clazz: const ClassRefMock(), this.size: 1, this.selector: 'selector',
- this.mask: 0, this.buckets: const InstanceRefMock(),
- this.argumentsDescriptor: const InstanceRefMock()});
+ this.vmName: 'megamorphiccache-vmName',
+ this.clazz: const ClassRefMock(),
+ this.size: 1, this.selector: 'selector',
+ this.mask: 0,
+ this.buckets: const InstanceRefMock(),
+ this.argumentsDescriptor: const InstanceRefMock()
+ });
}

Powered by Google App Engine
This is Rietveld 408576698