Chromium Code Reviews| 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..a65747bf775adb88f903d552f9ea06b0b4ee6f84 100644 |
| --- a/Source/core/html/imports/LinkImport.cpp |
| +++ b/Source/core/html/imports/LinkImport.cpp |
| @@ -128,9 +128,7 @@ HTMLLinkElement* LinkImport::link() |
| 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_owner && m_child && m_child->isDone() && !m_child->loader()->hasError(); |
|
Mike West
2015/03/26 04:43:14
Why doesn't this ASSERT hold true anymore?
|
| } |
| void LinkImport::ownerInserted() |