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

Unified Diff: runtime/bin/main.cc

Issue 9112013: Thread pool changes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 12 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/bin/main.cc
diff --git a/runtime/bin/main.cc b/runtime/bin/main.cc
index 23bf45efa6ee0536a6dfbd31bc1d31247444ed7e..a2f6d1ab15ce83fe0fec460d0af5fd748027f661 100644
--- a/runtime/bin/main.cc
+++ b/runtime/bin/main.cc
@@ -11,6 +11,7 @@
#include "bin/builtin.h"
#include "bin/dartutils.h"
+#include "bin/eventhandler.h"
#include "bin/file.h"
#include "bin/globals.h"
#include "bin/platform.h"
@@ -380,6 +381,9 @@ int main(int argc, char** argv) {
Dart_SetVMFlags(vm_options.count(), vm_options.arguments());
+ // Initialize event handler.
+ EventHandler::Initialize();
+
// Initialize the Dart VM.
Dart_Initialize(CreateIsolateAndSetup, NULL);

Powered by Google App Engine
This is Rietveld 408576698