Index: Source/core/html/HTMLMetaElement-in.cpp |
diff --git a/Source/core/html/HTMLMetaElement-in.cpp b/Source/core/html/HTMLMetaElement-in.cpp |
index d63713d0ee7dffdbb1dfc52cb83bfdb52c03fc16..c65983f7082047ac5f12bb08366b29d6a24f42da 100644 |
--- a/Source/core/html/HTMLMetaElement-in.cpp |
+++ b/Source/core/html/HTMLMetaElement-in.cpp |
@@ -438,9 +438,12 @@ void HTMLMetaElement::parseAttribute(const QualifiedName& name, const AtomicStri |
Node::InsertionNotificationRequest HTMLMetaElement::insertedInto(ContainerNode* insertionPoint) |
{ |
HTMLElement::insertedInto(insertionPoint); |
- if (insertionPoint->inDocument()) |
- process(); |
- return InsertionDone; |
+ return InsertionShouldCallDidNotifySubtreeInsertions; |
+} |
+ |
+void HTMLMetaElement::didNotifySubtreeInsertionsToDocument() |
+{ |
+ process(); |
} |
static bool inDocumentHead(HTMLMetaElement* element) |