Chromium Code Reviews| Index: runtime/bin/gen_snapshot.cc |
| =================================================================== |
| --- runtime/bin/gen_snapshot.cc (revision 39237) |
| +++ runtime/bin/gen_snapshot.cc (working copy) |
| @@ -15,6 +15,7 @@ |
| #include "bin/dartutils.h" |
| #include "bin/file.h" |
| #include "bin/log.h" |
| +#include "bin/thread.h" |
| #include "platform/globals.h" |
| @@ -495,6 +496,7 @@ |
| return 255; |
| } |
| + Thread::InitOnce(); |
| DartUtils::SetOriginalWorkingDirectory(); |
| Dart_SetVMFlags(vm_options.count(), vm_options.arguments()); |