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

Unified Diff: lib/src/dependency_graph.dart

Issue 1167543002: Fix checked mode error (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Filter out empty string Created 5 years, 7 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 | « no previous file | lib/src/options.dart » ('j') | lib/src/options.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/dependency_graph.dart
diff --git a/lib/src/dependency_graph.dart b/lib/src/dependency_graph.dart
index 63cbe804fcd8984f9fe33ea150150334c90b9948..14dda6285276b43b7cce56f621cb61943caf6fbf 100644
--- a/lib/src/dependency_graph.dart
+++ b/lib/src/dependency_graph.dart
@@ -154,8 +154,8 @@ class HtmlSourceNode extends SourceNode {
/// Libraries referred to via script tags.
Set<DartSourceNode> scripts = new Set<DartSourceNode>();
- /// Link-rel stylesheets and images.
- Set<ResourceSourceNode> resources = new Set<ResourceSourceNode>();
+ /// Link-rel stylesheets, images, and other specified files.
+ Set<SourceNode> resources = new Set<SourceNode>();
@override
Iterable<SourceNode> get allDeps =>
@@ -199,7 +199,7 @@ class HtmlSourceNode extends SourceNode {
scripts = newScripts;
}
- var newResources = new Set<ResourceSourceNode>();
+ var newResources = new Set<SourceNode>();
for (var resource in graph.resources) {
newResources.add(graph.nodeFromUri(uri.resolve(resource)));
}
« no previous file with comments | « no previous file | lib/src/options.dart » ('j') | lib/src/options.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698