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

Unified Diff: runtime/bin/embedded_dart_io.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 | « no previous file | runtime/bin/gen_snapshot.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/embedded_dart_io.cc
diff --git a/runtime/bin/embedded_dart_io.cc b/runtime/bin/embedded_dart_io.cc
index 1b3f40b951d67ef4acc9e8fce6c084255261fc4b..9e38f028734a818ec3c0f6133f54d44162746cc9 100644
--- a/runtime/bin/embedded_dart_io.cc
+++ b/runtime/bin/embedded_dart_io.cc
@@ -5,6 +5,7 @@
#include "bin/embedded_dart_io.h"
#include "bin/eventhandler.h"
+#include "bin/utils.h"
#include "bin/thread.h"
namespace dart {
@@ -13,6 +14,7 @@ namespace bin {
void BootstrapDartIo() {
// Bootstrap 'dart:io' event handler.
Thread::InitOnce();
+ TimerUtils::InitOnce();
EventHandler::Start();
}
« no previous file with comments | « no previous file | runtime/bin/gen_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698