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

Unified Diff: samples/sample_extension/sample_asynchronous_extension.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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 | « samples/newissues/newissues.dart ('k') | samples/solar3d/web/solar.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/sample_extension/sample_asynchronous_extension.dart
diff --git a/samples/sample_extension/sample_asynchronous_extension.dart b/samples/sample_extension/sample_asynchronous_extension.dart
index 41f2ea3feb979effacd744469c46d445e574e5e5..190dee4e2da3d9ab9ab9a23579b911016c5339f5 100644
--- a/samples/sample_extension/sample_asynchronous_extension.dart
+++ b/samples/sample_extension/sample_asynchronous_extension.dart
@@ -11,7 +11,7 @@ class RandomArray {
static SendPort _port;
void randomArray(int seed, int length, void callback(List result)) {
- var args = new List(2);
+ var args = new List.fixedLength(2);
args[0] = seed;
args[1] = length;
_servicePort.call(args).then((result) {
« no previous file with comments | « samples/newissues/newissues.dart ('k') | samples/solar3d/web/solar.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698