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

Unified Diff: runtime/bin/gen_snapshot.cc

Issue 1563553002: Fix Mac gen_snapshot by calling TimerUtils::InitOnce (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « runtime/bin/embedded_dart_io.cc ('k') | runtime/bin/vmservice_dartium.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/gen_snapshot.cc
diff --git a/runtime/bin/gen_snapshot.cc b/runtime/bin/gen_snapshot.cc
index 773c0af14326a47400f5a7c5af15d5c0433e6b91..93611a4ce93cde33d73e5f30595528c14b2ad11a 100644
--- a/runtime/bin/gen_snapshot.cc
+++ b/runtime/bin/gen_snapshot.cc
@@ -19,6 +19,7 @@
#include "bin/file.h"
#include "bin/log.h"
#include "bin/thread.h"
+#include "bin/utils.h"
#include "bin/vmservice_impl.h"
#include "platform/globals.h"
@@ -1017,6 +1018,7 @@ int main(int argc, char** argv) {
Thread::InitOnce();
DartUtils::SetOriginalWorkingDirectory();
// Start event handler.
+ TimerUtils::InitOnce();
EventHandler::Start();
vm_options.AddArgument("--load_deferred_eagerly");
« no previous file with comments | « runtime/bin/embedded_dart_io.cc ('k') | runtime/bin/vmservice_dartium.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698