| Index: runtime/embedders/openglui/common/vm_glue.cc
|
| ===================================================================
|
| --- runtime/embedders/openglui/common/vm_glue.cc (revision 21990)
|
| +++ runtime/embedders/openglui/common/vm_glue.cc (working copy)
|
| @@ -89,7 +89,7 @@
|
| }
|
|
|
| // Returns true on success, false on failure.
|
| -bool VMGlue::CreateIsolateAndSetupHelper(const char* script_uri,
|
| +Dart_Isolate VMGlue::CreateIsolateAndSetupHelper(const char* script_uri,
|
| const char* main,
|
| void* data,
|
| char** error) {
|
| @@ -98,7 +98,7 @@
|
| Dart_CreateIsolate(script_uri, main, NULL, data, error);
|
| if (isolate == NULL) {
|
| LOGE("Couldn't create isolate: %s", *error);
|
| - return false;
|
| + return NULL;
|
| }
|
|
|
| LOGI("Entering scope");
|
| @@ -110,10 +110,10 @@
|
| CHECK_RESULT(result);
|
|
|
| Dart_ExitScope();
|
| - return true;
|
| + return isolate;
|
| }
|
|
|
| -bool VMGlue::CreateIsolateAndSetup(const char* script_uri,
|
| +Dart_Isolate VMGlue::CreateIsolateAndSetup(const char* script_uri,
|
| const char* main,
|
| void* data, char** error) {
|
| return CreateIsolateAndSetupHelper(script_uri,
|
|
|