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

Unified Diff: packages/barback/lib/src/asset/asset.dart

Issue 3015713002: Roll to pickup pool changes
Patch Set: Created 3 years, 3 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: packages/barback/lib/src/asset/asset.dart
diff --git a/packages/barback/lib/src/asset/asset.dart b/packages/barback/lib/src/asset/asset.dart
index c0f11bade6c0f8e5aa80bc6abb1cc0be5920e9d6..15794e58f81e55ba6dede29f4c4ba7223b7d67f2 100644
--- a/packages/barback/lib/src/asset/asset.dart
+++ b/packages/barback/lib/src/asset/asset.dart
@@ -24,14 +24,12 @@ abstract class Asset {
factory Asset.fromBytes(AssetId id, List<int> bytes) =>
new BinaryAsset(id, bytes);
- factory Asset.fromFile(AssetId id, File file) =>
- new FileAsset(id, file.path);
+ factory Asset.fromFile(AssetId id, File file) => new FileAsset(id, file.path);
factory Asset.fromString(AssetId id, String content) =>
new StringAsset(id, content);
- factory Asset.fromPath(AssetId id, String path) =>
- new FileAsset(id, path);
+ factory Asset.fromPath(AssetId id, String path) => new FileAsset(id, path);
factory Asset.fromStream(AssetId id, Stream<List<int>> stream) =>
new StreamAsset(id, stream);
« no previous file with comments | « packages/barback/example/markdown_converter/lib/transformer.dart ('k') | packages/barback/lib/src/asset/asset_id.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698