| Index: runtime/vm/unit_test.h
|
| diff --git a/runtime/vm/unit_test.h b/runtime/vm/unit_test.h
|
| index 8e6267ee413e822832173d2298d2fb32960fb2ab..defaea68c6cd51bbaa2fb38eebf3515df9690e59 100644
|
| --- a/runtime/vm/unit_test.h
|
| +++ b/runtime/vm/unit_test.h
|
| @@ -306,18 +306,7 @@ class TestCase : TestCaseBase {
|
| virtual void Run();
|
|
|
| private:
|
| - static Dart_Isolate CreateIsolate(const uint8_t* buffer,
|
| - const char* name) {
|
| - char* err;
|
| - Dart_Isolate isolate = Dart_CreateIsolate(
|
| - name, NULL, buffer, NULL, NULL, &err);
|
| - if (isolate == NULL) {
|
| - OS::Print("Creation of isolate failed '%s'\n", err);
|
| - free(err);
|
| - }
|
| - EXPECT(isolate != NULL);
|
| - return isolate;
|
| - }
|
| + static Dart_Isolate CreateIsolate(const uint8_t* buffer, const char* name);
|
|
|
| RunEntry* const run_;
|
| };
|
|
|