Index: Source/core/html/imports/LinkImport.cpp |
diff --git a/Source/core/html/imports/LinkImport.cpp b/Source/core/html/imports/LinkImport.cpp |
index f17da74aa75b9b8c8f267200647ed82f4f0886a7..3a3e629e9812eac13882fd23e80eef820c7b98d6 100644 |
--- a/Source/core/html/imports/LinkImport.cpp |
+++ b/Source/core/html/imports/LinkImport.cpp |
@@ -130,7 +130,7 @@ bool LinkImport::hasLoaded() const |
{ |
// Should never be called after importChildWasDestroyed was called. |
ASSERT(m_owner); |
- return m_child && m_child->isDone() && !m_child->loader()->hasError(); |
+ return m_child && m_child->hasFinishedLoading() && !m_child->loader()->hasError(); |
} |
void LinkImport::ownerInserted() |