| 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 "config.h" | 5 #include "sky/engine/config.h" |
| 6 #include "core/html/imports/HTMLImportTreeRoot.h" | 6 #include "sky/engine/core/html/imports/HTMLImportTreeRoot.h" |
| 7 | 7 |
| 8 #include "core/dom/Document.h" | 8 #include "sky/engine/core/dom/Document.h" |
| 9 #include "core/dom/StyleEngine.h" | 9 #include "sky/engine/core/dom/StyleEngine.h" |
| 10 #include "core/frame/LocalFrame.h" | 10 #include "sky/engine/core/frame/LocalFrame.h" |
| 11 #include "core/html/imports/HTMLImportChild.h" | 11 #include "sky/engine/core/html/imports/HTMLImportChild.h" |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 PassOwnPtr<HTMLImportTreeRoot> HTMLImportTreeRoot::create(Document* document) | 15 PassOwnPtr<HTMLImportTreeRoot> HTMLImportTreeRoot::create(Document* document) |
| 16 { | 16 { |
| 17 return adoptPtr(new HTMLImportTreeRoot(document)); | 17 return adoptPtr(new HTMLImportTreeRoot(document)); |
| 18 } | 18 } |
| 19 | 19 |
| 20 HTMLImportTreeRoot::HTMLImportTreeRoot(Document* document) | 20 HTMLImportTreeRoot::HTMLImportTreeRoot(Document* document) |
| 21 : HTMLImport(HTMLImport::Sync) | 21 : HTMLImport(HTMLImport::Sync) |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 { | 93 { |
| 94 ASSERT(m_document); | 94 ASSERT(m_document); |
| 95 | 95 |
| 96 do { | 96 do { |
| 97 m_recalcTimer.stop(); | 97 m_recalcTimer.stop(); |
| 98 HTMLImport::recalcTreeState(this); | 98 HTMLImport::recalcTreeState(this); |
| 99 } while (m_recalcTimer.isActive()); | 99 } while (m_recalcTimer.isActive()); |
| 100 } | 100 } |
| 101 | 101 |
| 102 } | 102 } |
| OLD | NEW |