| Index: runtime/lib/isolate.cc
|
| diff --git a/runtime/lib/isolate.cc b/runtime/lib/isolate.cc
|
| index 8a0cdc6cce5df254a397c02040a9ce53f8ae3baf..c7bf00ce50ecadbccbc490d4460fab989e9b2ecb 100644
|
| --- a/runtime/lib/isolate.cc
|
| +++ b/runtime/lib/isolate.cc
|
| @@ -152,7 +152,7 @@ DEFINE_NATIVE_ENTRY(SendPortImpl_sendInternal_, 3) {
|
| static void ThrowIllegalArgException(const String& message) {
|
| GrowableArray<const Object*> args(1);
|
| args.Add(&message);
|
| - Exceptions::ThrowByType(Exceptions::kIllegalArgument, args);
|
| + Exceptions::ThrowByType(Exceptions::kArgument, args);
|
| }
|
|
|
|
|
|
|