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 library heap_map_element; | 5 library heap_map_element; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:html'; | 8 import 'dart:html'; |
9 import 'dart:math'; | 9 import 'dart:math'; |
10 import 'observatory_element.dart'; | 10 import 'observatory_element.dart'; |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 }).whenComplete(done); | 223 }).whenComplete(done); |
224 } | 224 } |
225 | 225 |
226 void fragmentationChanged(oldValue) { | 226 void fragmentationChanged(oldValue) { |
227 // Async, in case attached has not yet run (observed in JS version). | 227 // Async, in case attached has not yet run (observed in JS version). |
228 new Future(() { | 228 new Future(() { |
229 _updateFragmentationData(); | 229 _updateFragmentationData(); |
230 }); | 230 }); |
231 } | 231 } |
232 } | 232 } |
OLD | NEW |