| Index: runtime/observatory/tests/observatory_ui/mocks/objects/megamorphiccache.dart
|
| diff --git a/runtime/observatory/tests/observatory_ui/mocks/objects/source_location.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/megamorphiccache.dart
|
| similarity index 51%
|
| copy from runtime/observatory/tests/observatory_ui/mocks/objects/source_location.dart
|
| copy to runtime/observatory/tests/observatory_ui/mocks/objects/megamorphiccache.dart
|
| index a795589f8b8d1fcaaba35fb71fb49a01d4b81cfb..6e589414903348dba67141dc3a497bff844b39ea 100644
|
| --- a/runtime/observatory/tests/observatory_ui/mocks/objects/source_location.dart
|
| +++ b/runtime/observatory/tests/observatory_ui/mocks/objects/megamorphiccache.dart
|
| @@ -4,10 +4,10 @@
|
|
|
| part of mocks;
|
|
|
| -class SourceLocationMock implements M.SourceLocation {
|
| - final M.ScriptRef script;
|
| - final int tokenPos;
|
| - final int endTokenPos;
|
| +class MegamorphicCacheRefMock implements M.MegamorphicCacheRef {
|
| + final String id;
|
| + final String selector;
|
|
|
| - const SourceLocationMock({this.script, this.tokenPos, this.endTokenPos});
|
| + const MegamorphicCacheRefMock({this.id : 'megamorphiccache-id',
|
| + this.selector});
|
| }
|
|
|