| Index: runtime/bin/secure_socket.h
|
| diff --git a/runtime/bin/secure_socket.h b/runtime/bin/secure_socket.h
|
| index 45334d6ab6bea127e662a1cecb91d2d97c9fd621..010b5ad8c7c60f9e6e90b5decb765d7fc0a6067d 100644
|
| --- a/runtime/bin/secure_socket.h
|
| +++ b/runtime/bin/secure_socket.h
|
| @@ -26,9 +26,9 @@ namespace dart {
|
| namespace bin {
|
|
|
| static void ThrowException(const char* message) {
|
| - Dart_Handle socket_io_exception =
|
| - DartUtils::NewDartSocketIOException(message, Dart_Null());
|
| - Dart_ThrowException(socket_io_exception);
|
| + Dart_Handle socket_exception =
|
| + DartUtils::NewDartSocketException(message, Dart_Null());
|
| + Dart_ThrowException(socket_exception);
|
| }
|
|
|
|
|
| @@ -38,9 +38,9 @@ static void ThrowPRException(const char* message) {
|
| const char* error_message = PR_ErrorToString(error_code, PR_LANGUAGE_EN);
|
| OSError os_error_struct(error_code, error_message, OSError::kNSS);
|
| Dart_Handle os_error = DartUtils::NewDartOSError(&os_error_struct);
|
| - Dart_Handle socket_io_exception =
|
| - DartUtils::NewDartSocketIOException(message, os_error);
|
| - Dart_ThrowException(socket_io_exception);
|
| + Dart_Handle socket_exception =
|
| + DartUtils::NewDartSocketException(message, os_error);
|
| + Dart_ThrowException(socket_exception);
|
| }
|
|
|
| /*
|
|
|