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); |