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

Unified Diff: runtime/bin/main.cc

Issue 8372094: Renaming Array -> List in the VM API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments. Created 9 years, 1 month 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 | « runtime/bin/file.cc ('k') | runtime/bin/process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/main.cc
diff --git a/runtime/bin/main.cc b/runtime/bin/main.cc
index ddacdb392cd287f96fb83d9daa5b481275048a78..b5de6be20501c7c0becee3c42ba90c8c346a8c59 100644
--- a/runtime/bin/main.cc
+++ b/runtime/bin/main.cc
@@ -92,7 +92,7 @@ static int ParseArguments(int argc,
static Dart_Handle SetupRuntimeOptions(CommandLineOptions* options) {
int options_count = options->count();
- Dart_Handle dart_arguments = Dart_NewArray(options_count);
+ Dart_Handle dart_arguments = Dart_NewList(options_count);
if (!Dart_IsValid(dart_arguments)) {
return dart_arguments;
}
@@ -101,7 +101,7 @@ static Dart_Handle SetupRuntimeOptions(CommandLineOptions* options) {
if (!Dart_IsValid(argument_value)) {
return argument_value;
}
- Dart_Handle result = Dart_ArraySetAt(dart_arguments, i, argument_value);
+ Dart_Handle result = Dart_ListSetAt(dart_arguments, i, argument_value);
if (!Dart_IsValid(result)) {
return result;
}
« no previous file with comments | « runtime/bin/file.cc ('k') | runtime/bin/process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698