Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 library class_view_element; | 5 library class_view_element; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import 'observatory_element.dart'; | 8 import 'observatory_element.dart'; |
| 9 import 'package:observatory/service.dart'; | 9 import 'package:observatory/service.dart'; |
| 10 import 'package:polymer/polymer.dart'; | 10 import 'package:polymer/polymer.dart'; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 45 } | 45 } |
| 46 | 46 |
| 47 void refresh(var done) { | 47 void refresh(var done) { |
| 48 instances = null; | 48 instances = null; |
| 49 retainedBytes = null; | 49 retainedBytes = null; |
| 50 mostRetained = null; | 50 mostRetained = null; |
| 51 cls.reload().whenComplete(done); | 51 cls.reload().whenComplete(done); |
| 52 } | 52 } |
| 53 | 53 |
| 54 void refreshCoverage(var done) { | 54 void refreshCoverage(var done) { |
| 55 cls.refreshCoverage().whenComplete(done); | 55 Future.wait([cls.refreshCoverage(), |
|
Cutch
2015/03/17 17:05:04
Can we kill this redundancy?
rmacnak
2015/03/18 19:24:05
Yes, now computing this from the IC data response.
| |
| 56 cls.refreshCallSiteData()]).whenComplete(done); | |
| 56 } | 57 } |
| 57 } | 58 } |
| OLD | NEW |