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

Unified Diff: runtime/bin/directory.cc

Issue 8799009: Add support for client/dartc compilation only tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments. Created 9 years 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/builtin_natives.cc ('k') | runtime/bin/directory.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/directory.cc
diff --git a/runtime/bin/directory.cc b/runtime/bin/directory.cc
index e8ceccd5a94db86d2a10deddd516c85a5919c8b9..6b6b0cc5d77b39a88b6f040aec66340110695635 100644
--- a/runtime/bin/directory.cc
+++ b/runtime/bin/directory.cc
@@ -78,8 +78,8 @@ void FUNCTION_NAME(Directory_Create)(Dart_NativeArguments args) {
void FUNCTION_NAME(Directory_CreateTemp)(Dart_NativeArguments args) {
Dart_EnterScope();
- Dart_Handle path = Dart_GetNativeArgument(args, 1);
- Dart_Handle number = Dart_GetNativeArgument(args, 2);
+ Dart_Handle path = Dart_GetNativeArgument(args, 0);
+ Dart_Handle number = Dart_GetNativeArgument(args, 1);
if (Dart_IsString(path) && Dart_IsInteger(number)) {
char* result = Directory::CreateTemp(DartUtils::GetStringValue(path),
DartUtils::GetIntegerValue(number));
« no previous file with comments | « runtime/bin/builtin_natives.cc ('k') | runtime/bin/directory.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698