Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(759)

Unified Diff: runtime/vm/dart_api_impl_test.cc

Issue 9242035: Give isolates names to be used during debugging. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());

Powered by Google App Engine
This is Rietveld 408576698