| Index: Source/core/html/imports/HTMLImportChild.cpp
|
| diff --git a/Source/core/html/imports/HTMLImportChild.cpp b/Source/core/html/imports/HTMLImportChild.cpp
|
| index a81264436472b717951ae7bbc49f06db539234f0..24d1a9ccb0064f98df08a9d363b2df597c0484ab 100644
|
| --- a/Source/core/html/imports/HTMLImportChild.cpp
|
| +++ b/Source/core/html/imports/HTMLImportChild.cpp
|
| @@ -125,7 +125,7 @@ void HTMLImportChild::importDestroyed()
|
| if (parent())
|
| parent()->removeChild(this);
|
| if (m_loader) {
|
| - m_loader->removeClient(this);
|
| + m_loader->removeImport(this);
|
| m_loader.clear();
|
| }
|
| }
|
| @@ -187,8 +187,8 @@ void HTMLImportChild::createLoader()
|
| {
|
| ASSERT(!state().shouldBlockDocumentCreation());
|
| ASSERT(!m_loader);
|
| - m_loader = HTMLImportLoader::create(this);
|
| - m_loader->addClient(this);
|
| + m_loader = HTMLImportLoader::create();
|
| + m_loader->addImport(this);
|
| m_loader->startLoading(resource());
|
| }
|
|
|
| @@ -196,7 +196,7 @@ void HTMLImportChild::shareLoader(HTMLImportChild* loader)
|
| {
|
| ASSERT(!m_loader);
|
| m_loader = loader->m_loader;
|
| - m_loader->addClient(this);
|
| + m_loader->addImport(this);
|
| stateWillChange();
|
| }
|
|
|
|
|