| Index: runtime/vm/dart_api_impl_test.cc
|
| ===================================================================
|
| --- runtime/vm/dart_api_impl_test.cc (revision 3366)
|
| +++ runtime/vm/dart_api_impl_test.cc (working copy)
|
| @@ -2751,7 +2751,8 @@
|
| }
|
|
|
|
|
| -static bool RunLoopTestCallback(void* data, char** error) {
|
| +static bool RunLoopTestCallback(const char* name_prefix,
|
| + void* data, char** error) {
|
| const char* kScriptChars =
|
| "#import('builtin');\n"
|
| "class MyIsolate extends Isolate {\n"
|
| @@ -2797,7 +2798,7 @@
|
| bool throw_exception_parent) {
|
| Dart_IsolateCreateCallback saved = Isolate::CreateCallback();
|
| Isolate::SetCreateCallback(RunLoopTestCallback);
|
| - RunLoopTestCallback(NULL, NULL);
|
| + RunLoopTestCallback(NULL, NULL, NULL);
|
|
|
| Dart_EnterScope();
|
| Dart_Handle lib = Dart_LookupLibrary(Dart_NewString(TestCase::url()));
|
| @@ -2892,7 +2893,7 @@
|
| {
|
| sync->Enter();
|
| char* error = NULL;
|
| - shared_isolate = Dart_CreateIsolate(NULL, NULL, &error);
|
| + shared_isolate = Dart_CreateIsolate(NULL, NULL, NULL, &error);
|
| EXPECT(shared_isolate != NULL);
|
| Dart_EnterScope();
|
| Dart_Handle url = Dart_NewString(TestCase::url());
|
|
|