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

Unified Diff: sky/examples/stocks/lib/stock_data.dart

Issue 1173703002: Move image loading out of C++ into Dart (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Rename fetchMojo to fetchUrl 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 | « sky/engine/tonic/mojo_converter.h ('k') | sky/examples/stocks2/lib/stock_data.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/stocks/lib/stock_data.dart
diff --git a/sky/examples/stocks/lib/stock_data.dart b/sky/examples/stocks/lib/stock_data.dart
index 9bca149d2053dbaba1c55912e2712331eafd87f0..39201714fcb37f7aebeff5f989e85a0ccdb50b09 100644
--- a/sky/examples/stocks/lib/stock_data.dart
+++ b/sky/examples/stocks/lib/stock_data.dart
@@ -59,7 +59,7 @@ class StockDataFetcher {
}
void _fetchNextChunk() {
- fetch('data/stock_data_${_currentChunk++}.json').then((Response response) {
+ fetchBody('data/stock_data_${_currentChunk++}.json').then((Response response) {
String json = response.bodyAsString();
JsonDecoder decoder = new JsonDecoder();
« no previous file with comments | « sky/engine/tonic/mojo_converter.h ('k') | sky/examples/stocks2/lib/stock_data.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698