| Index: Source/core/html/imports/HTMLImportsController.cpp
|
| diff --git a/Source/core/html/imports/HTMLImportsController.cpp b/Source/core/html/imports/HTMLImportsController.cpp
|
| index cee8d3ac5f39fd6ec56ece4d2d2b8136e3ebd553..42cd73986446a86f3ef96ead626ea902b9045353 100644
|
| --- a/Source/core/html/imports/HTMLImportsController.cpp
|
| +++ b/Source/core/html/imports/HTMLImportsController.cpp
|
| @@ -50,7 +50,8 @@ void HTMLImportsController::provideTo(Document& master)
|
| }
|
|
|
| HTMLImportsController::HTMLImportsController(Document& master)
|
| - : m_master(&master)
|
| + : HTMLImport(HTMLImport::Sync)
|
| + , m_master(&master)
|
| , m_recalcTimer(this, &HTMLImportsController::recalcTimerFired)
|
| {
|
| recalcTreeState(this); // This recomputes initial state.
|
| @@ -144,11 +145,6 @@ LocalFrame* HTMLImportsController::frame() const
|
| return m_master->frame();
|
| }
|
|
|
| -HTMLImportRoot* HTMLImportsController::root()
|
| -{
|
| - return this;
|
| -}
|
| -
|
| Document* HTMLImportsController::document() const
|
| {
|
| return m_master;
|
| @@ -179,6 +175,11 @@ bool HTMLImportsController::isDone() const
|
| return !m_master->parsing() && m_master->styleEngine()->haveStylesheetsLoaded();
|
| }
|
|
|
| +void HTMLImportsController::stateWillChange()
|
| +{
|
| + scheduleRecalcState();
|
| +}
|
| +
|
| void HTMLImportsController::stateDidChange()
|
| {
|
| HTMLImport::stateDidChange();
|
|
|