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

Unified Diff: site/try/src/interaction_manager.dart

Issue 1110063012: Change code to remove two warnings that are reported when running build.py. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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
« no previous file with comments | « pkg/compiler/lib/src/resolution/send_structure.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: site/try/src/interaction_manager.dart
diff --git a/site/try/src/interaction_manager.dart b/site/try/src/interaction_manager.dart
index 6106df05c24001e5e3abeae9024326b80a4c737e..2c566e33391e56da66852275cfc53c36caba195d 100644
--- a/site/try/src/interaction_manager.dart
+++ b/site/try/src/interaction_manager.dart
@@ -762,9 +762,10 @@ class InitialState extends InteractionState {
if (context.isFirstCompile) {
outputDiv.append(context.compilerConsole);
}
+ var diagnostics = mainEditorPane.querySelectorAll('a.diagnostic');
context.oldDiagnostics
..clear()
- ..addAll(mainEditorPane.querySelectorAll('a.diagnostic'));
+ ..addAll(diagnostics);
}
void aboutToRun() {
« no previous file with comments | « pkg/compiler/lib/src/resolution/send_structure.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698