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

Unified Diff: lib/src/barback/asset_environment.dart

Issue 2044253003: Refactor Source and SourceRegistry. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Rename LiveSource to BoundSource. Created 4 years, 6 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/command.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/barback/asset_environment.dart
diff --git a/lib/src/barback/asset_environment.dart b/lib/src/barback/asset_environment.dart
index e2aa4e6b59c33f42655ac75e924ae9f3b13a977b..8b04005e06f83492e863ca00936e232b77d28121 100644
--- a/lib/src/barback/asset_environment.dart
+++ b/lib/src/barback/asset_environment.dart
@@ -609,7 +609,7 @@ class AssetEnvironment {
// application package, since that's not locked.
var packageId = graph.lockFile.packages[package.name];
if (packageId != null &&
- graph.entrypoint.cache.sources[packageId.source] is CachedSource) {
+ graph.entrypoint.cache.source(packageId.source) is CachedSource) {
return new Future.value();
}
« no previous file with comments | « no previous file | lib/src/command.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698