Bug 930281 - Use nsINode instead of nsIContent. r=smaug.

This commit is contained in:
Henri Sivonen
2013-11-12 10:45:22 +02:00
parent d52c58fcd3
commit 8336428f60

View File

@@ -240,7 +240,7 @@ nsHtml5TreeOperation::Perform(nsHtml5TreeOpExecutor* aBuilder,
case eTreeOpDetach: {
nsIContent* node = *(mOne.node);
aBuilder->FlushPendingAppendNotifications();
nsCOMPtr<nsIContent> parent = node->GetParent();
nsCOMPtr<nsINode> parent = node->GetParentNode();
if (parent) {
nsHtml5OtherDocUpdate update(parent->OwnerDoc(),
aBuilder->GetDocument());