Chromium Code Reviews| Index: dart/runtime/bin/main.cc |
| diff --git a/dart/runtime/bin/main.cc b/dart/runtime/bin/main.cc |
| index b2723ca147a55f918d6c24ea190b0cdb6b7330f6..06530aaa7a00808e1fbedbad0f44fa0cb31b6041 100644 |
| --- a/dart/runtime/bin/main.cc |
| +++ b/dart/runtime/bin/main.cc |
| @@ -13,6 +13,7 @@ |
| #include "bin/dartutils.h" |
| #include "bin/dbg_connection.h" |
| #include "bin/directory.h" |
| +#include "bin/socket.h" |
| #include "bin/eventhandler.h" |
| #include "bin/extensions.h" |
| #include "bin/file.h" |
| @@ -947,6 +948,9 @@ void main(int argc, char** argv) { |
| // Start event handler. |
| EventHandler::Start(); |
| + // Initialize global socket registry. |
| + ListeningSocketRegistry::Initialize(); |
|
Søren Gjesse
2015/02/11 08:51:05
Can't this go inside EventHandler::Start()?
kustermann
2015/02/11 09:56:08
Done.
|
| + |
| // Initialize the Dart VM. |
| if (!Dart_Initialize(CreateIsolateAndSetup, NULL, NULL, ShutdownIsolate, |
| DartUtils::OpenFile, |