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

Unified Diff: lib/runtime/messages_widget.dart

Issue 1239803005: fix issues caught by analysis_server (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 5 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 | « bin/edit_files.dart ('k') | test/checker/self_host_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/messages_widget.dart
diff --git a/lib/runtime/messages_widget.dart b/lib/runtime/messages_widget.dart
index e2930c9e96721969bb9e959d2b894fb2a00593a9..2280992e94ad760ef22b5e656b31ef9f3d361784 100644
--- a/lib/runtime/messages_widget.dart
+++ b/lib/runtime/messages_widget.dart
@@ -7,11 +7,9 @@
/// groups the logs by level.
library polymer.build.log_injector;
-import 'dart:async';
import 'dart:convert';
import 'dart:html';
-import 'package:path/path.dart' as path;
import 'package:source_span/source_span.dart';
import 'package:dev_compiler/src/summary.dart';
@@ -61,7 +59,6 @@ void displayMessages(String data) {
' <span class="text">');
if (span is SourceSpanWithContext) {
var context = span.context;
- var text = span.text;
sb.write(_escape(context.substring(0, span.start.column)));
sb.write('<span class="$level">');
sb.write(_escape(span.text));
« no previous file with comments | « bin/edit_files.dart ('k') | test/checker/self_host_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698