| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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" | |
| 6 #include "sky/engine/core/html/parser/HTMLScriptRunner.h" | 5 #include "sky/engine/core/html/parser/HTMLScriptRunner.h" |
| 7 | 6 |
| 8 #include "base/bind.h" | 7 #include "base/bind.h" |
| 9 #include "sky/engine/core/app/AbstractModule.h" | 8 #include "sky/engine/core/app/AbstractModule.h" |
| 10 #include "sky/engine/core/dom/Document.h" | 9 #include "sky/engine/core/dom/Document.h" |
| 11 #include "sky/engine/core/dom/Microtask.h" | 10 #include "sky/engine/core/dom/Microtask.h" |
| 12 #include "sky/engine/core/frame/LocalFrame.h" | 11 #include "sky/engine/core/frame/LocalFrame.h" |
| 13 #include "sky/engine/core/html/HTMLScriptElement.h" | 12 #include "sky/engine/core/html/HTMLScriptElement.h" |
| 14 #include "sky/engine/core/script/dart_controller.h" | 13 #include "sky/engine/core/script/dart_controller.h" |
| 15 | 14 |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 frame->dart().ExecuteLibraryInModule(module.get(), | 118 frame->dart().ExecuteLibraryInModule(module.get(), |
| 120 library->dart_value(), | 119 library->dart_value(), |
| 121 m_element.get()); | 120 m_element.get()); |
| 122 } | 121 } |
| 123 | 122 |
| 124 advanceTo(StateCompleted); | 123 advanceTo(StateCompleted); |
| 125 // We may be deleted at this point. | 124 // We may be deleted at this point. |
| 126 } | 125 } |
| 127 | 126 |
| 128 } | 127 } |
| OLD | NEW |