Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 part of app; | 5 part of app; |
| 6 | 6 |
| 7 final _allocationProfileRepository = new AllocationProfileRepository(); | 7 final _allocationProfileRepository = new AllocationProfileRepository(); |
| 8 final _breakpointRepository = new BreakpointRepository(); | 8 final _breakpointRepository = new BreakpointRepository(); |
| 9 final _classRepository = new ClassRepository(); | 9 final _classRepository = new ClassRepository(); |
| 10 final _classSampleProfileRepository = new ClassSampleProfileRepository(); | 10 final _classSampleProfileRepository = new ClassSampleProfileRepository(); |
| (...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 510 new ObjectViewElement( | 510 new ObjectViewElement( |
| 511 app.vm, | 511 app.vm, |
| 512 obj.isolate, | 512 obj.isolate, |
| 513 obj, | 513 obj, |
| 514 app.events, | 514 app.events, |
| 515 app.notifications, | 515 app.notifications, |
| 516 _objectRepository, | 516 _objectRepository, |
| 517 _retainedSizeRepository, | 517 _retainedSizeRepository, |
| 518 _reachableSizeRepository, | 518 _reachableSizeRepository, |
| 519 _inboundReferencesRepository, | 519 _inboundReferencesRepository, |
| 520 _retainingPathRepository, | 520 _retainingPathRepository, |
|
siva
2017/06/01 19:26:32
why remove _objectRepository? The factory construc
devoncarew
2017/06/01 20:11:54
This is creating a ObjectViewElement (not a Object
siva
2017/06/01 21:28:07
Ah ok, ObjectPoolViewElement was created above.
| |
| 521 _objectRepository, | |
| 522 queue: app.queue) | 521 queue: app.queue) |
| 523 ]; | 522 ]; |
| 524 } else if (obj is Sentinel) { | 523 } else if (obj is Sentinel) { |
| 525 container.children = [ | 524 container.children = [ |
| 526 new SentinelViewElement( | 525 new SentinelViewElement( |
| 527 app.vm, obj.isolate, obj, app.events, app.notifications, | 526 app.vm, obj.isolate, obj, app.events, app.notifications, |
| 528 queue: app.queue) | 527 queue: app.queue) |
| 529 ]; | 528 ]; |
| 530 } else { | 529 } else { |
| 531 container.children = [ | 530 container.children = [ |
| (...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 916 element = new TimelinePageElement(app.vm, app.events, app.notifications, | 915 element = new TimelinePageElement(app.vm, app.events, app.notifications, |
| 917 queue: app.queue); | 916 queue: app.queue); |
| 918 } | 917 } |
| 919 | 918 |
| 920 void _visit(Uri uri) { | 919 void _visit(Uri uri) { |
| 921 assert(canVisit(uri)); | 920 assert(canVisit(uri)); |
| 922 } | 921 } |
| 923 | 922 |
| 924 bool canVisit(Uri uri) => uri.path == 'timeline'; | 923 bool canVisit(Uri uri) => uri.path == 'timeline'; |
| 925 } | 924 } |
| OLD | NEW |