OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "sky/engine/config.h" | 5 #include "dart_io.h" |
6 #include "sky/engine/tonic/dart_class_provider.h" | 6 |
| 7 #include "bin/eventhandler.h" |
| 8 #include "bin/thread.h" |
7 | 9 |
8 namespace blink { | 10 namespace blink { |
9 | 11 |
10 DartClassProvider::~DartClassProvider() { | 12 void BootstrapDartIo() { |
| 13 // Bootstrap 'dart:io' event handler. |
| 14 dart::bin::Thread::InitOnce(); |
| 15 dart::bin::EventHandler::Start(); |
11 } | 16 } |
12 | 17 |
13 } // namespace blink | 18 } // namespace blink |
OLD | NEW |