Index: runtime/lib/developer.cc |
diff --git a/runtime/lib/developer.cc b/runtime/lib/developer.cc |
index 6b7a33d2e0df8c7b95c055fac4c3820200717766..464e89b2448327a2500cdde97b6e0a9e5c7ada8c 100644 |
--- a/runtime/lib/developer.cc |
+++ b/runtime/lib/developer.cc |
@@ -39,11 +39,11 @@ DEFINE_NATIVE_ENTRY(Developer_inspect, 1) { |
DEFINE_NATIVE_ENTRY(Developer_log, 8) { |
- GET_NON_NULL_NATIVE_ARGUMENT(Integer, sequence, arguments->NativeArgAt(0)); |
+ GET_NON_NULL_NATIVE_ARGUMENT(String, message, arguments->NativeArgAt(0)); |
GET_NON_NULL_NATIVE_ARGUMENT(Integer, timestamp, arguments->NativeArgAt(1)); |
- GET_NON_NULL_NATIVE_ARGUMENT(Smi, level, arguments->NativeArgAt(2)); |
- GET_NON_NULL_NATIVE_ARGUMENT(String, name, arguments->NativeArgAt(3)); |
- GET_NON_NULL_NATIVE_ARGUMENT(String, message, arguments->NativeArgAt(4)); |
+ GET_NON_NULL_NATIVE_ARGUMENT(Integer, sequence, arguments->NativeArgAt(2)); |
+ GET_NON_NULL_NATIVE_ARGUMENT(Smi, level, arguments->NativeArgAt(3)); |
+ GET_NON_NULL_NATIVE_ARGUMENT(String, name, arguments->NativeArgAt(4)); |
GET_NATIVE_ARGUMENT(Instance, dart_zone, arguments->NativeArgAt(5)); |
GET_NATIVE_ARGUMENT(Instance, error, arguments->NativeArgAt(6)); |
GET_NATIVE_ARGUMENT(Instance, stack_trace, arguments->NativeArgAt(7)); |