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

Unified Diff: sky/sdk/lib/mojo/asset_bundle.dart

Issue 1221023002: Fix a bug found by the analyzer (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/mojo/asset_bundle.dart
diff --git a/sky/sdk/lib/mojo/asset_bundle.dart b/sky/sdk/lib/mojo/asset_bundle.dart
index 0a18bdd313b38527f4cbbee5c547082ba5d73457..7aa49c48977ce17a7ad626311d4ec14fbaf0ba6c 100644
--- a/sky/sdk/lib/mojo/asset_bundle.dart
+++ b/sky/sdk/lib/mojo/asset_bundle.dart
@@ -31,7 +31,7 @@ class NetworkAssetBundle extends AssetBundle {
}
Future _fetchAndUnpackBundle(String relativeUrl, AssetBundleProxy bundle) async {
- core.MojoDataPipeConsumer bundleData = (await fetchUrl(url)).body;
+ core.MojoDataPipeConsumer bundleData = (await fetchUrl(relativeUrl)).body;
AssetUnpackerProxy unpacker = new AssetUnpackerProxy.unbound();
shell.requestService("mojo:asset_bundle", unpacker);
unpacker.ptr.unpackZipStream(bundleData, bundle);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698