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

Unified Diff: pkg/barback/test/transformer/emit_nothing.dart

Issue 223553008: Only pass an AssetId to isPrimary and declareOutputs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix script_compactor Created 6 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/barback/test/transformer/create_asset.dart ('k') | pkg/barback/test/transformer/has_input.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/barback/test/transformer/emit_nothing.dart
diff --git a/pkg/barback/test/transformer/emit_nothing.dart b/pkg/barback/test/transformer/emit_nothing.dart
index d68fecdf8505b4fa53f078c96b48834c0194ca74..a414cb891733c5a6dfafd040e5d5ff35f3f816dd 100644
--- a/pkg/barback/test/transformer/emit_nothing.dart
+++ b/pkg/barback/test/transformer/emit_nothing.dart
@@ -16,8 +16,8 @@ class EmitNothingTransformer extends MockTransformer {
EmitNothingTransformer(this.extension);
- Future<bool> doIsPrimary(Asset asset) =>
- new Future.value(asset.id.extension == ".$extension");
+ Future<bool> doIsPrimary(AssetId id) =>
+ new Future.value(id.extension == ".$extension");
Future doApply(Transform transform) => new Future.value();
« no previous file with comments | « pkg/barback/test/transformer/create_asset.dart ('k') | pkg/barback/test/transformer/has_input.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698