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

Unified Diff: vm/message_queue_test.cc

Issue 8334031: - Fix the snapshot generation python script to return an error code when snapshot generation fail... (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: '' Created 9 years, 1 month 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
« no previous file with comments | « vm/dart_api_impl.cc ('k') | vm/port_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/message_queue_test.cc
===================================================================
--- vm/message_queue_test.cc (revision 1223)
+++ vm/message_queue_test.cc (working copy)
@@ -58,8 +58,9 @@
static MessageQueue* shared_queue = NULL;
void MessageReceiver_start(uword unused) {
// We only need an isolate here because the MonitorLocker in the
- // MessageQueue expects it.
- Dart::CreateIsolate(NULL, NULL);
+ // MessageQueue expects it, we don't need to initialize the isolate
+ // as it does not run any dart code.
+ Dart::CreateIsolate();
// Create a message queue and share it.
MessageQueue* queue = new MessageQueue();
« no previous file with comments | « vm/dart_api_impl.cc ('k') | vm/port_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698