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

Unified Diff: pkg/barback/lib/src/transform_node.dart

Issue 19473002: Fix a barback bug that triggered when an asset was removed. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
Index: pkg/barback/lib/src/transform_node.dart
diff --git a/pkg/barback/lib/src/transform_node.dart b/pkg/barback/lib/src/transform_node.dart
index b17c9a5ba84d98898a9a372b268662061d480734..84e42c0d0a5664bf10f2189bff6578099b1ed210 100644
--- a/pkg/barback/lib/src/transform_node.dart
+++ b/pkg/barback/lib/src/transform_node.dart
@@ -43,6 +43,7 @@ class TransformNode {
/// The outputs created by this transform the last time it was run.
///
/// Used to tell if an output was removed in a later run.
+ Set<AssetId> get outputs => _outputs;
Bob Nystrom 2013/07/17 17:18:26 Instead of making this public, how about defining:
nweiz 2013/07/17 18:29:55 I thought about that, but I couldn't come up with
var _outputs = new Set<AssetId>();
TransformNode(this.phase, this._transformer, this.primary);

Powered by Google App Engine
This is Rietveld 408576698