Index: runtime/lib/object.cc |
diff --git a/runtime/lib/object.cc b/runtime/lib/object.cc |
index f52dfd915749dc4243d106b50b7cc7ecb978d9b5..3d9ed92cea65aae79d7c3c1e83d9ce1b7f69ae41 100644 |
--- a/runtime/lib/object.cc |
+++ b/runtime/lib/object.cc |
@@ -26,7 +26,7 @@ DEFINE_NATIVE_ENTRY(Object_noSuchMethod, 3) { |
GrowableArray<const Object*> args; |
args.Add(&function_name); |
args.Add(&func_args); |
- Exceptions::ThrowByType(Exceptions::kNullThrown, args); |
+ Exceptions::ThrowByType(Exceptions::kNullPointer, args); |
} |
const Object& null_object = Object::Handle(Object::null()); |
GrowableArray<const Object*> dart_arguments(3); |