Chromium Code Reviews| Index: runtime/observatory/lib/src/service/object.dart |
| diff --git a/runtime/observatory/lib/src/service/object.dart b/runtime/observatory/lib/src/service/object.dart |
| index c6b1808af895929f1bcdf395cdad248a2a63492f..1beefe1382bb8910d0472ed980098ac3bddfd925 100644 |
| --- a/runtime/observatory/lib/src/service/object.dart |
| +++ b/runtime/observatory/lib/src/service/object.dart |
| @@ -308,6 +308,7 @@ abstract class Coverage { |
| var coverageList = coverage['coverage']; |
| assert(coverageList != null); |
| processCoverageData(coverageList); |
| + return this; |
| }); |
| } |
| } |
| @@ -2107,6 +2108,7 @@ class Script extends ServiceObject with Coverage { |
| _hits[line] = hit; |
| } |
| _applyHitsToLines(); |
| + notifyChange(null); |
|
Cutch
2015/02/28 00:37:04
Add a comment about what this does.
rmacnak
2015/03/02 19:08:26
Done.
|
| } |
| void _processSource(String source) { |
| @@ -2127,6 +2129,7 @@ class Script extends ServiceObject with Coverage { |
| lines.add(new ScriptLine(this, i + 1, sourceLines[i])); |
| } |
| _applyHitsToLines(); |
| + notifyChange(null); |
| } |
| void _applyHitsToLines() { |