Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3035)

Unified Diff: runtime/observatory/lib/src/service/object.dart

Issue 959043003: Build script views programmatically. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() {

Powered by Google App Engine
This is Rietveld 408576698