| Index: Source/core/dom/StyleSheetCandidate.cpp
|
| diff --git a/Source/core/dom/StyleSheetCandidate.cpp b/Source/core/dom/StyleSheetCandidate.cpp
|
| index 73d5eb37d45644f3b82e3bbb81d1813376a22916..8e59675b7b0478b19475df22fa6e06bdee74b612 100644
|
| --- a/Source/core/dom/StyleSheetCandidate.cpp
|
| +++ b/Source/core/dom/StyleSheetCandidate.cpp
|
| @@ -58,12 +58,7 @@ bool StyleSheetCandidate::isImport() const
|
| Document* StyleSheetCandidate::importedDocument() const
|
| {
|
| ASSERT(isImport());
|
| - // The stylesheet update traversal shouldn't go into shared import
|
| - // to prevent it from stepping into cycle.
|
| - HTMLLinkElement& element = toHTMLLinkElement(m_node);
|
| - if (!element.importOwnsLoader())
|
| - return 0;
|
| - return element.import();
|
| + return toHTMLLinkElement(m_node).import();
|
| }
|
|
|
| bool StyleSheetCandidate::isAlternate() const
|
|
|