Index: third_party/WebKit/Source/core/html/imports/LinkImport.cpp |
diff --git a/third_party/WebKit/Source/core/html/imports/LinkImport.cpp b/third_party/WebKit/Source/core/html/imports/LinkImport.cpp |
index d5fecf9d305110bce4a6806456a18663b8526c10..f1de54b6a0af350679335b09b508488072d2f7af 100644 |
--- a/third_party/WebKit/Source/core/html/imports/LinkImport.cpp |
+++ b/third_party/WebKit/Source/core/html/imports/LinkImport.cpp |
@@ -118,6 +118,11 @@ void LinkImport::ownerInserted() { |
m_child->ownerInserted(); |
} |
+void LinkImport::ownerRemoved() { |
+ if (m_owner) |
+ m_owner->document().styleEngine().importRemoved(); |
+} |
+ |
DEFINE_TRACE(LinkImport) { |
visitor->trace(m_child); |
HTMLImportChildClient::trace(visitor); |