Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index cfbbf9405d8d23d12bb14c52b6c4954dd2c35b08..0c62d74ae835d3206f7712a5c853869eb9d488dd 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -820,7 +820,7 @@ void Document::setImportsController(HTMLImportsController* controller) |
{ |
ASSERT(!m_importsController || !controller); |
m_importsController = controller; |
- if (!m_importsController) |
+ if (!m_importsController && !loader()) |
m_fetcher->clearContext(); |
} |