Index: Source/core/html/HTMLTemplateElement.cpp |
diff --git a/Source/core/html/HTMLTemplateElement.cpp b/Source/core/html/HTMLTemplateElement.cpp |
index 46e26e81354731b1f2ec084c41dab14a23be35a0..f2793ec1930445fd6e4e9ca803f99f8b90b97974 100644 |
--- a/Source/core/html/HTMLTemplateElement.cpp |
+++ b/Source/core/html/HTMLTemplateElement.cpp |
@@ -80,7 +80,7 @@ void HTMLTemplateElement::didMoveToNewDocument(Document& oldDocument) |
HTMLElement::didMoveToNewDocument(oldDocument); |
if (!m_content) |
return; |
- document().ensureTemplateDocument().adoptIfNeeded(m_content.get()); |
+ document().ensureTemplateDocument().adoptIfNeeded(*m_content); |
} |
} // namespace WebCore |