Index: Source/core/html/HTMLLinkElement.cpp |
diff --git a/Source/core/html/HTMLLinkElement.cpp b/Source/core/html/HTMLLinkElement.cpp |
index 9bb5a04187662527eb065b765610f01159360de0..22fe26f4fc5b9f004bc1e9d4eecdb24e0b0e4276 100644 |
--- a/Source/core/html/HTMLLinkElement.cpp |
+++ b/Source/core/html/HTMLLinkElement.cpp |
@@ -270,6 +270,10 @@ Node::InsertionNotificationRequest HTMLLinkElement::insertedInto(ContainerNode* |
document().styleEngine()->addStyleSheetCandidateNode(this, m_createdByParser); |
process(); |
+ |
+ if (m_link) |
+ m_link->ownerInserted(); |
+ |
return InsertionDone; |
} |