| Index: runtime/vm/dart_api_impl.cc
|
| diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc
|
| index 1faa4eda50f0a5ec60f9ee2ad7652fc62be3dcba..00afa4e06d3cc6d21be9f3451f9f9b3bc963d844 100644
|
| --- a/runtime/vm/dart_api_impl.cc
|
| +++ b/runtime/vm/dart_api_impl.cc
|
| @@ -1156,18 +1156,14 @@ DART_EXPORT char* Dart_Initialize(
|
| return strdup("Dart_Initialize: "
|
| "Setting of unhandled exception callback is not supported.");
|
| }
|
| - const char* err_msg = Dart::InitOnce(vm_isolate_snapshot,
|
| - instructions_snapshot,
|
| - data_snapshot,
|
| - create, shutdown,
|
| - thread_exit,
|
| - file_open, file_read, file_write,
|
| - file_close, entropy_source,
|
| - get_service_assets);
|
| - if (err_msg != NULL) {
|
| - return strdup(err_msg);
|
| - }
|
| - return NULL;
|
| + return Dart::InitOnce(vm_isolate_snapshot,
|
| + instructions_snapshot,
|
| + data_snapshot,
|
| + create, shutdown,
|
| + thread_exit,
|
| + file_open, file_read, file_write, file_close,
|
| + entropy_source,
|
| + get_service_assets);
|
| }
|
|
|
|
|
|
|